# std::error_condition::value

> C++ Atlas: `cppatlas.com/w/cpp/error/error_condition/value` | Source: https://en.cppreference.com/w/cpp/error/error_condition/value | Domain: Diagnostics | Standards: C++11

Returns the stored error value.

## Official Specification Summary (cppreference)

```cpp
int value() const noexcept; // (since C++11)
```

Returns the stored error value.

### Parameters

(none)

### Return value

The stored error value.

---
Attribution: content from https://en.cppreference.com/w/cpp/error/error_condition/value (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.