libstdc++
|
#include <system_error>
Public Member Functions | |
error_condition () noexcept | |
template<typename _ErrorConditionEnum , typename = typename enable_if<is_error_condition_enum<_ErrorConditionEnum>::value>::type> | |
error_condition (_ErrorConditionEnum __e) noexcept | |
error_condition (int __v, const error_category &__cat) noexcept | |
void | assign (int __v, const error_category &__cat) noexcept |
const error_category & | category () const noexcept |
void | clear () noexcept |
string | message () const |
operator bool () const noexcept | |
template<typename _ErrorConditionEnum > | |
enable_if< is_error_condition_enum< _ErrorConditionEnum >::value, error_condition & >::type | operator= (_ErrorConditionEnum __e) noexcept |
int | value () const noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
error_condition | make_error_condition (errc __e) noexcept |
bool | operator!= (const error_condition &__lhs, const error_code &__rhs) noexcept |
bool | operator!= (const error_condition &__lhs, const error_condition &__rhs) noexcept |
bool | operator< (const error_condition &__lhs, const error_condition &__rhs) noexcept |
bool | operator== (const error_code &__lhs, const error_code &__rhs) noexcept |
bool | operator== (const error_code &__lhs, const error_condition &__rhs) noexcept |
bool | operator== (const error_condition &__lhs, const error_code &__rhs) noexcept |
bool | operator== (const error_condition &__lhs, const error_condition &__rhs) noexcept |
Class error_condition
This class represents error conditions that may be visible at an API boundary. Different error_code
values that can occur within a library or module might map to the same error_condition
.
An error_condition
represents something that the program can test for, and subsequently take appropriate action.
Definition at line 350 of file system_error.
|
inlinenoexcept |
Initialize with a zero (no error) value and the generic category.
Definition at line 354 of file system_error.
|
inlinenoexcept |
Initialize with the specified value and category.
Definition at line 358 of file system_error.
|
inlinenoexcept |
Definition at line 363 of file system_error.
|
inlinenoexcept |
Set the value and category.
Definition at line 371 of file system_error.
|
inlinenoexcept |
The error category that this error belongs to.
Definition at line 399 of file system_error.
|
inlinenoexcept |
Reset the value and category to the default-constructed state.
Definition at line 386 of file system_error.
|
inline |
The category's description of the value.
Definition at line 404 of file system_error.
|
inlineexplicitnoexcept |
Test whether value()
is non-zero.
Definition at line 409 of file system_error.
|
inlinenoexcept |
Definition at line 381 of file system_error.
|
inlinenoexcept |
The error value.
Definition at line 394 of file system_error.