##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::error_condition::category

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

const error_category& category() const; |  | (since C++11)

Returns the stored error category.

### [edit] Parameters

(none)

### [edit] Return value

The stored error category.

### [edit] Exceptions

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

- unconditionally noexcept

Hidden categories:

- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template