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