std::experimen...ilesystem_error(3cxx)

🌸 NAME 🌸

okay so bestie, welcome to std::experimental::filesystem::filesystem_error β€” the exception type thrown by the Filesystem TS library. The manual name is std::experimen...ilesystem_error(3cxx), and yes, it’s giving very specific C++ energy. πŸ’…


✨ SYNOPSIS ✨

#include <filesystem>

Inherits std::system_error.

πŸŽ€ Public Member Functions πŸŽ€

  • filesystem_error (const string &__what_arg, const path &__p1, const path &__p2, error_code __ec) β€” constructor with exactly these parameters, no cap.
  • filesystem_error (const string &__what_arg, const path &__p1, error_code __ec) β€” constructor with exactly these parameters, periodt.
  • filesystem_error (const string &__what_arg, error_code __ec) β€” constructor with exactly these parameters, lowkey iconic.
  • const error_code & code () const noexcept β€” returns a const error_code & and is noexcept.
  • const path & path1 () const noexcept β€” returns a const path & and is noexcept.
  • const path & path2 () const noexcept β€” returns a const path & and is noexcept.
  • const char * what () const noexcept β€” returns a const char * and is noexcept.

πŸ’– Detailed Description πŸ’–

Exception type thrown by the Filesystem TS library. That’s the whole vibe, bestie β€” it’s the exception type for this Filesystem TS situation. πŸ¦‹


πŸ¦‹ Member Function Documentation πŸ¦‹

const char * std::experimental::filesystem::filesystem_error::what () const β€” [inline], [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor). 🫢

Reimplemented from std::runtime_error.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str().


πŸ’… Author πŸ’…

Generated automatically by Doxygen for libstdc++ from the source code.


sign-off time, bestie: this page is generated automatically by Doxygen for libstdc++ from the source code, and the footer line literally reads libstdstd::experimen...ilesystem_error(3cxx) β€” no separate date is printed in that footer, so don’t come for me. πŸ’–βœ¨

πŸ“¦ where this page comes from