Exceptions#

Standard C++ exceptions with std::format argument constructors.

Info

To use declarations from this page, include the <essence/exceptions.hpp> header.

class runtime_error : public std::runtime_error#
template<typename ...Args>
runtime_error::runtime_error(std::string_view message, Args&&... args)#

Constructor accepting std::format arguments.

class invalid_arg : public std::invalid_argument#
template<typename ...Args>
invalid_arg::invalid_arg(std::string_view message, Args&&... args)#

Constructor accepting std::format arguments.

class logic_error : public std::logic_error#
template<typename ...Args>
logic_error::logic_error(std::string_view message, Args&&... args)#

Constructor accepting std::format arguments.