# std::error_category::name

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

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

## Official Specification Summary (cppreference)

```cpp
virtual const char* name() const noexcept = 0; // (since C++11)
```

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

### Parameters

(none)

### Return value

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

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