A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/system_error/error_code/ below:

class

<system_error>

std::error_code

Error code

Objects of this type hold an error code value associated with a category.

The operating system and other low-level applications and libraries generate numerical error codes to represent possible results. These numerical values may carry essential information for a specific platform, but be non-portable from one platform to another.

Objects of this class associate such numerical codes to error categories, so that they can be interpreted when needed as more abstract (and portable) error conditions.



Member functions
(constructor)
Construct error_code (public member function)
assign
Assign error code (public member function)
operator=
Assign error code (public member function)
clear
Clear error code (public member function)
value
Error value (public member function)
category
Get category (public member function)
default_error_condition
Default error condition (public member function)
message
Get message (public member function)
operator bool
Convert to bool (public member function)

Non-member function overloads
relational operators (error_code)
Relational operators (function)
operator<<
Insert into ostream (function)

Non-member class specializations
hash<error_code>
Hash for error_code (class template specialization)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4