std::error_category::message
來自 cppreference.com
< cpp | error | error category
virtual std::string message( int condition ) const = 0; |
(C++11 起) | |
返回一個字串,描述 *this 所表示的錯誤類別中給定的錯誤條件。
[編輯] 引數
條件 | - | 指定要描述的錯誤條件 |
[編輯] 返回值
描述給定錯誤條件的字串。
[編輯] 異常
可能丟擲實現定義的異常。