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.
Include the header <system_error> to define the exception class system_error and related templates for processing low-level system errors.
#include <system_error>
Objects
| Represents the category for generic errors. | |
| Represents the category for errors caused by low-level system overflows. | 
Typedefs
| A type that represents the enumeration that provides the symbolic names for all the error-code macros defined by Posix in <errno.h>. | 
Functions
| Creates an error_code object. | |
| Creates an error_condition object. | 
Operators
| Tests if the object on the left side of the operator is equal to the object on the right side. | |
| Tests if the object on the left side of the operator is not equal to the object on the right side. | |
| Tests if an object is less than the object passed in for comparison. | 
Enumerations
| Provides symbolic names for all the error-code macros defined by Posix in <errno.h>. | 
Classes and Structs
| Represents the abstract, common base for objects that describes a category of error codes. | |
| Represents low-level system errors that are implementation-specific. | |
| Represents user-defined error codes. | |
| Represents a type predicate that tests for the error_code Class enumeration. | |
| Represents a type predicate that tests for the error_condition Class enumeration. | |
| Represents the base class for all exceptions thrown to report a low-level system overflow. | 
Requirements
Header: <system_error>
Namespace: std