Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 3.12 KB

system-error.md

File metadata and controls

66 lines (49 loc) · 3.12 KB
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: <system_error>
<system_error>
03/15/2019
<system_error>
system_error header
5e046c6e-48d9-4740-8c8a-05f3727c1215

<system_error>

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

Requirements

Header: <system_error>

Namespace: std

Members

Objects

NameDescription
generic_categoryRepresents the category for generic errors.
is_error_code_enum_v
is_error_condition_enum_v
system_categoryRepresents the category for errors caused by low-level system overflows.

Functions

NameDescription
make_error_codeCreates an error_code object.
make_error_conditionCreates an error_condition object.

Operators

NameDescription
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.
operator<<

Enums

NameDescription
errcProvides symbolic names for all the error-code macros defined by POSIX in <errno.h>.

Classes and Structs

NameDescription
error_categoryRepresents the abstract, common base for objects that describes a category of error codes.
error_codeRepresents low-level system errors that are implementation-specific.
error_conditionRepresents user-defined error codes.
hash
is_error_code_enumRepresents a type predicate that tests for the error_code Class enumeration.
is_error_condition_enumRepresents a type predicate that tests for the error_condition Class enumeration.
system_errorRepresents the base class for all exceptions thrown to report a low-level system overflow.

See also

Header Files Reference

close