§tiro::error

Base class for all errors thrown by this library.

#include "tiropp/error.hpp"

Inherits from exception

Inherited by api_error, bad_handle_cast, generic_error

§Public Functions

Name
virtual const char *message() const =0
A simple message line that describes the error condition. Never null.
virtual const char *details() const =0
Optional detailed error information. Never null, but may be empty.

§Public Functions Documentation

§function message

virtual const char * message() const =0

A simple message line that describes the error condition. Never null.

Reimplemented by: tiro::generic_error::message, tiro::api_error::message, tiro::bad_handle_cast::message

§function details

virtual const char * details() const =0

Optional detailed error information. Never null, but may be empty.

Reimplemented by: tiro::generic_error::details, tiro::api_error::details, tiro::bad_handle_cast::details


Updated on 2022-02-27 at 21:17:13 +0100