##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::error_condition::value

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

int value() const; |  | (since C++11)

Returns the stored error code.

### [edit] Parameters

(none)

### [edit] Return value

The stored error code.

### [edit] Exceptions

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

- unconditionally noexcept