Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::filesystem::filesystem_error

An exception type thrown when errors are encountered.

NotebookLM
Defined in header <experimental/filesystem>
class filesystem_error;
(filesystem TS)

An exception type thrown when errors are encountered.

cpp/error/exceptioncpp/error/runtime errorcpp/error/system errorstd-experimental-filesystem-filesystem error-inheritance.svg

Inheritance diagram

Member functions

constructs the error object
(public member function)
returns the paths that were involved in the operation that caused the error
(public member function)
returns the explanatory string
(public member function)

See also

This section is incomplete

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.