1 #ifndef _FIBERIO_EXCEPTIONS_H_ 2 #define _FIBERIO_EXCEPTIONS_H_ 12 io_error(
const char* msg) : runtime_error{msg} {}
28 :
io_error{
"address family not supported"} {}
io_error(const char *msg)
This is thrown when something fails because the connection was closed.
Thrown when e.g. trying to use IPv6 and it's not supported on the system.
address_family_not_supported_error()
This is thrown on I/O errors.