binary_io::exception class

The base exception type for all binary_io exceptions.

Derived classes

class buffer_exhausted
An exception which indicates the underlying buffer for a stream has been exhausted.

Constructors, destructors, conversion operators

exception(const char* a_what) noexcept
Constructs an exception with the given message.

Public functions

auto what() const -> const char* noexcept
Gets the stored message from the given exception.
auto what(T... args) -> T

Function documentation

const char* binary_io::exception::what() const noexcept

Gets the stored message from the given exception.

Returns The stored error message.