libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback::Internal_error Class Reference

Exception class used to indicate internal errors, typically the result of an insect hiding somewhere. More...

#include <art/paperback/except.hxx>

Inheritance diagram for Art::Paperback::Internal_error:

Public Member Functions

 Fault (std::source_location origin, string what)
 Constructor.
 
std::source_location const & origin () const
 Access the C++ source origin of the exception.
 

Private Attributes

std::source_location _origin
 

Detailed Description

Exception class used to indicate internal errors, typically the result of an insect hiding somewhere.

If found, please be so kind and squash it mercilessly.

Member Function Documentation

◆ Fault()

Art::Paperback::Fault::Fault ( std::source_location origin,
string what )
inline

Constructor.

Parameters
originThe C++ source origin of the exception.
whatA description of the error.

◆ origin()

std::source_location const & Art::Paperback::Fault::origin ( ) const
inherited

Access the C++ source origin of the exception.