Class IOError#

Inheritance Relationships#

Base Type#

  • public std::runtime_error

Class Documentation#

class IOError : public std::runtime_error#

Exception raised when an input/output operation fails.

Public Functions

IOError(const char *fmt_string, ...)#

Construct an trv::sys::IOError exception.

Parameters
  • fmt_string – Error message format string.

  • ... – An arbitrary number of substitution arguments.

virtual const char *what() const noexcept#

Exception string representation.

Returns

String representation of the exception.

Public Members

std::string err_mesg#

error message