# std::experimental::filesystem::filesystem_error::what

> C++ Atlas: `cppatlas.com/w/cpp/experimental/fs/filesystem_error/what` | Source: https://en.cppreference.com/w/cpp/experimental/fs/filesystem_error/what | Domain: Technical specifications

Returns the explanatory byte string that was stored in the exception object.

## Official Specification Summary (cppreference)

```cpp
const char* what() const; // (filesystem TS)
```

Returns the explanatory byte string that was stored in the exception object.

### Parameters

(none)

### Exceptions

`noexcept` specification:

`noexcept`

### See also

> Note: This section is incomplete

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