std::error_...ion::message(3)

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

πŸ’– std::error_condition::message πŸ’–

okay so welcome to std::error_condition::message(3), straight from the C++ Standard Libary manual (yes, that’s the manual name, spelling and all 🫢). the original header goes std::error_...ion::message(3) because the terminal clipped her name a little, but the full std::error_condition::message is serving below. no cap.

✨ NAME ✨

  • std::error_condition::message β€” std::error_condition::message. the NAME section is literally std::error_condition::message - std::error_condition::message, and honestly? iconic. she’s the member that gives you an explanatory message for the stored error value and error category πŸ’…

πŸ¦‹ Synopsis πŸ¦‹

std::string message() const;  (since C++11)

Returns an explanatory message for the stored error value and error category. Effectively calls category().message(value()). that’s the whole flow, bestie 🌸

πŸŽ€ Parameters πŸŽ€

(none) β€” zero arguments. not a single one. she takes no parameters πŸ’…

🌈 Return value 🌈

An explanatory message for the stored error value and error category. that’s it. that’s the return value. she ate πŸ’–

πŸ’€ Exceptions πŸ’€

May throw implementation-defined exceptions. so like, don’t act surprised if implementation-defined exceptions show up β€” that’s literally the caveat, okay? 😭

πŸ‘‘ See also πŸ‘‘

  • message β€” obtains the explanatory string.
  • [virtual] β€” virtual public member function of std::error_category.

okay that’s the page, bestie 🫢 β€” source: http://cppreference.com, version/date: 2024.06.10, footer title: std::error_...ion::message(3) (yes, still truncated, and we love her anyway πŸ’œ). periodt πŸ’…

πŸ“¦ where this page comes from