std::error_...ry::message(3)
π NAME π
std::error_category::message - std::error_category::message
Okay so the NAME line is literally the same thing twice, and honestly? Commitment. Iconic. This page is about the message member of std::error_category.
Welcome to std::error_...ry::message(3), straight outta the C++ Standard Libary manual β yes, Libary is the manualβs spelling, not mine π.
πΈ Synopsis πΈ
Hereβs the whole signature, copied exactly, no cap:
virtual std::string message( int condition ) const = 0;
since C++11 β¨
Returns a string describing the given error condition for the error category represented by *this.
π Parameters π
conditionβ specifies the error condition to describe. Thatβs theintyouβre handing over, bestie.
β¨ Return value β¨
A string describing the given error condition.
Thatβs the whole return value. A string. Describing the given error condition. Periodt. π
π Exceptions π
β οΈ May throw implementation-defined exceptions.
So yes, exceptions are possible, and theyβre implementation-defined. Not a βnothing can go wrongβ situation, bestie. π
okay thatβs the whole page, mwah π«Ά source: http://cppreference.com, version/date: 2024.06.10, page: std::error_...ry::message(3) π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms