error_code Class
Represents low-level system errors that are implementation-specific.
class error_code;
Remarks
An object of type error_code class stores an error code value and a pointer to an object that represents a category of error codes that describe reported low-level system errors.
Constructors
Constructs an object of type error_code. |
Typedefs
A type that represents the stored error code value. |
Member Functions
Assigns an error code value and category to an error code. |
|
Returns the error category. |
|
Clears the error code value and category. |
|
Returns the default error condition. |
|
Returns the name of the error code. |
Operators
Tests for equality between error_code objects. |
|
Tests for inequality between error_code objects. |
|
Tests if the error_code object is less than the error_code object passed in for comparison. |
|
Assigns a new enumeration value to the error_code object. |
|
Casts a variable of type error_code. |
Requirements
Header: <system_error>
Namespace: std