§tiro::generic_error
Generic error with a simple message.
#include "tiropp/error.hpp"
Inherits from error, exception
Inherited by bad_handle_check
§Public Functions
Name | |
---|---|
generic_error(std::string message) | |
virtual const char * | message() const override A simple message line that describes the error condition. Never null. |
virtual const char * | details() const override Optional detailed error information. Never null, but may be empty. |
virtual const char * | what() const override |
§Public Functions Documentation
§function generic_error
inline explicit generic_error(std::string message)
§function message
inline virtual const char * message() const override
A simple message line that describes the error condition. Never null.
Reimplements: tiro::error::message
§function details
inline virtual const char * details() const override
Optional detailed error information. Never null, but may be empty.
Reimplements: tiro::error::details
§function what
inline virtual const char * what() const override
Updated on 2022-02-27 at 21:17:13 +0100