error_category Class

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

class error_category;

Two predefined objects implement error_category: generic_category and system_category.

value_type

A type that represents the stored error code value.

default_error_condition

Stores the error code value for an error condition object.

equivalent

Returns a value that specifies whether error objects are equivalent.

message

Returns the name of the specified error code.

name

Returns the name of the category.

operator==

Tests for equality between error_category objects.

operator!=

Tests for inequality between error_category objects.

operator<

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

Header: <system_error>

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft