##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::error_category::name

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

virtual const char* name() const = 0; |  | (since C++11)

Returns a pointer to a null-terminated byte string that specifies the name of the error category.

### [edit] Parameters

(none)

### [edit] Return value

Null-terminated byte string specifying the name of the error category.

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/error/error_category/name&oldid=63298"