Luanti 5.16.0-dev
 
Loading...
Searching...
No Matches
BaseException Class Reference

#include <exceptions.h>

+ Inheritance diagram for BaseException:
+ Collaboration diagram for BaseException:

Public Member Functions

 BaseException (const std::string &s) noexcept
 
 ~BaseException () throw () =default
 
virtual const char * what () const noexcept
 
BaseExceptionappend (const std::string &what)
 

Protected Attributes

std::string m_s
 

Constructor & Destructor Documentation

◆ BaseException()

BaseException::BaseException ( const std::string & s)
inlinenoexcept

◆ ~BaseException()

BaseException::~BaseException ( )
throw ( )
default

Member Function Documentation

◆ append()

BaseException & BaseException::append ( const std::string & what)
inline

References m_s, and what().

Referenced by enrich_exception(), and enrich_exception().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ what()

virtual const char * BaseException::what ( ) const
inlinevirtualnoexcept

Member Data Documentation

◆ m_s

std::string BaseException::m_s
protected

Referenced by append(), and what().


The documentation for this class was generated from the following file: