std::experi...system_error(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

std::experimental::filesystem::filesystem_error::filesystem_error β€” std::experimental::filesystem::filesystem_error::filesystem_error

Okay bestie, this is the std::experi...system_error(3) page from the C++ Standard Libary manual, and the main character is that constructor right there. The name is a whole mouthful and then it repeats β€” iconic, not a typo, that's just the NAME line doing its thing. πŸ‘‘


✨ Synopsis ✨

Three overloads, all tagged (filesystem TS), no cap. Here's the exact lineup:

          filesystem_error( const string& what_arg, error_code ec );       (1)
       (filesystem TS)
          filesystem_error( const string& what_arg, const path& p1,        (2)
       (filesystem TS)
          error_code ec );
          filesystem_error( const string& what_arg, const path& p1, const  (3)
       (filesystem TS)
          path& p2, error_code ec );

So basically you're constructing a brand-new filesystem error object. The explanatory string gets set to what_arg, the error code gets set to ec, and β€” optionally β€” the paths that were involved in the operation that resulted in the error get set to p1 and p2. That's the whole plot. 🎬


🫢 Parameters 🫢

This section is incomplete.

Literally that's it, bestie. The docs said "not today" and we respect the honesty. 😭


🌈 See also 🌈

This section is incomplete.

Same incomplete energy, same respectful silence. No extra refs, no links, just vibes. πŸ¦‹


🏷️ Categories 🏷️

This page is filed under:

  • Noindexed pages
  • Todo without reason

That's the whole page, bestie! Source is cppreference.com, version/date is 2024.06.10. Go construct something iconic. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from