Namespaces
Variants
Views
Actions

std::error_category::message

From cppreference.com
 
 
Utilities library
General utilities
Date and time
Function objects
Formatting library (C++20)
(C++11)
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)
Swap and type operations
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

Elementary string conversions
(C++17)
(C++17)
 
 
 
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.

[edit] Parameters

condition - specifies the error condition to describe

[edit] Return value

A string describing the given error condition.

[edit] Exceptions

(none)