Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The latest version of this topic can be found at <system_error> functions.
| generic_category | make_error_code | make_error_condition |
| system_category |
generic_category
Represents the category for generic errors.
extern const error_category& generic_category();
Remarks
The generic_category object is an implementation of error_category.
make_error_code
Creates an error code object.
error_code make_error_code(generic_errno _Errno);
Parameters
| Parameter | Description |
|---|---|
_Errno |
The enumeration value to store in the error code object. |
Return Value
The error code object.
Remarks
make_error_condition
Creates an error condition object.
error_condition make_error_condition(generic_errno _Errno);
Parameters
| Parameter | Description |
|---|---|
_Errno |
The enumeration value to store in the error condition object. |
Return Value
The error condition object.
Remarks
system_category
Represents the category for errors caused by low-level system overflows.
extern const error_category& system_category();
Remarks
The system_category object is an implementation of error_category.