Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<system_error>

Include the header <system_error> to define the exception class system_error and related templates for processing low-level system errors.

#include <system_error>

generic_category

Represents the category for generic errors.

system_category

Represents the category for errors caused by low-level system overflows.

generic_errno

A type that represents the enumeration that provides the symbolic names for all the error-code macros defined by Posix in <errno.h>.

make_error_code

Creates an error_code object.

make_error_condition

Creates an error_condition object.

operator==

Tests if the object on the left side of the operator is equal to the object on the right side.

operator!=

Tests if the object on the left side of the operator is not equal to the object on the right side.

operator<

Tests if an object is less than the object passed in for comparison.

errc

Provides symbolic names for all the error-code macros defined by Posix in <errno.h>.

error_category

Represents the abstract, common base for objects that describes a category of error codes.

error_code

Represents low-level system errors that are implementation-specific.

error_condition

Represents user-defined error codes.

is_error_code_enum

Represents a type predicate that tests for the error_code Class enumeration.

is_error_condition_enum

Represents a type predicate that tests for the error_condition Class enumeration.

system_error

Represents the base class for all exceptions thrown to report a low-level system overflow.

Header: <system_error>

Namespace: std

Show:
© 2015 Microsoft