std::error_code::default_error_condition - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::error_code::default_error_condition

From cppreference.com
< cpp‎ | error‎ | error code

std::error_condition default_error_condition() const; |  | (since C++11)

Returns the default error condition for the current error value.

Equivalent to category().default_error_condition(value()).

### [edit] Parameters

(none)

### [edit] Return value

The default error condition for the current error value.

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/error/error_code/default_error_condition&oldid=63302"
Category:

- unconditionally noexcept