std::filesystem::filesystem_error(3cxx)
π NAME π
std::filesystem::filesystem_error β the exception type thrown by the Filesystem library. It's giving "something went sideways and I brought receipts". β¨
π¦ SYNOPSIS π¦
#include <fs_path.h>
Inherits std::system_error. So it's lowkey a system_error at heart, just with extra path lore attached. π
π Public Member Functions
filesystem_error (const filesystem_error &)=defaultβ the copy constructor, defaulted, iconic, does exactly what you'd expect.filesystem_error (const string &__what_arg, const path &__p1, const path &__p2, error_code __ec)β ctor that takes a what-string, two paths, and anerror_code.filesystem_error (const string &__what_arg, const path &__p1, error_code __ec)β same deal but with just one path.filesystem_error (const string &__what_arg, error_code __ec)β the no-paths-allowed version: what-string pluserror_code.const error_code & code () const noexceptβ hands you back theerror_code.filesystem_error & operator= (const filesystem_error &)=defaultβ copy assignment, defaulted.const path & path1 () const noexceptβ the first path.const path & path2 () const noexceptβ the second path.const char * what () const noexceptβ the what-string.
πΈ DETAILED DESCRIPTION πΈ
Exception type thrown by the Filesystem library. That's the whole vibe, bestie β when a filesystem operation goes wrong, this is what gets yeeted at you. π
π MEMBER FUNCTION DOCUMENTATION π
const char * std::filesystem::filesystem_error::what () const [virtual], [noexcept]
Returns a C-style character string describing the general cause of the current error β and it's literally the same string that got passed to the ctor. No cap. π«Ά
Reimplemented from std::runtime_error. π¦
β¨ AUTHOR β¨
Generated automatically by Doxygen for libstdc++ from the source code. So bestie, nobody hand-typed this β the robot did it while we were sleeping. π€π
and that's the whole page, mwah π β straight from the std::filesystem::filesystem_error(3cxx) manual, brought to you by libstdc++. no date stamped on this one, it's giving timeless. periodt. π
β¨
π¦ where this page comes from
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms