title | description | ms.date | f1_keywords | helpviewer_keywords | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<system_error> functions |
Learn more about: <system_error> functions |
03/15/2019 |
|
|
Represents the category for generic errors.
const error_category& generic_category() noexcept;
The generic_category
object is an implementation of error_category.
A helper variable template for the is_error_code_enum
value.
template <class T>
constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
A helper variable template for the is_error_condition_enum
value.
template <class T>
constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
Creates an error code object.
error_code make_error_code(std::errc error) noexcept;
error
The std::errc
enumeration value to store in the error code object.
The error code object.
Creates an error condition object.
error_condition make_error_condition(std::errc error) noexcept;
error
The std::errc
enumeration value to store in the error condition object.
The error condition object.
Represents the category for operating system errors.
const error_category& system_category() noexcept;
The system_category
object is an implementation of error_category.