|
Veethree D7 SDK
|
The io_category class.
This is a std::error_category specialisation so that it is possible to use vsdk::io::io_error codes with std::system_error exception type.
#include <io_category.h>
Public Member Functions | |
| const char * | name () const noexcept override |
| The category name. | |
| std::string | message (int ec) const override |
| A description string for the error code. | |
Static Public Member Functions | |
| static const io_category & | category () |
| The io_category unique instance. | |
The io_category class.
This is a std::error_category specialisation so that it is possible to use vsdk::io::io_error codes with std::system_error exception type.
|
static |
The io_category unique instance.
This is a std::error_category requirement. Must use this instance if used directly with std::system_error.
|
override |
A description string for the error code.
| ec | The error code, type-cast from vsdk::io::io_error. |
|
overridenoexcept |
The category name.