Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
LumieraError< eID, PAR > Class Template Reference

Description

template<lumiera_err const & eID, class PAR = Error>
class lumiera::error::LumieraError< eID, PAR >

Derived specific exceptions within Lumiera's exception hierarchy.

Definition at line 191 of file error.hpp.

Public Member Functions

 LumieraError (std::string description="", lumiera_err const id=eID) noexcept
 
 LumieraError (std::exception const &cause, std::string description="", lumiera_err const id=eID) noexcept
 
- Public Member Functions inherited from Error
virtual ~Error () noexcept
 
 Error (string description="", lumiera_err const id=LERR_(EXCEPTION)) noexcept
 this is an interface
 
 Error (std::exception const &cause, string description="", lumiera_err const id=LERR_(EXCEPTION)) noexcept
 
 Error (Error &&)=default
 
 Error (Error const &)=default
 
Erroroperator= (Error &&)=delete
 
Erroroperator= (Error const &)=delete
 
virtual CStr what () const noexcept override
 std::exception interface : yield a diagnostic message
 
lumiera_err getID () const noexcept
 the internal Lumiera-error-ID (was set as C-errorstate in ctor)
 
string const & getUsermsg () const noexcept
 extract the message to be displayed for the user
 
string const & rootCause () const noexcept
 If this exception was caused by a chain of further exceptions, return the description of the first one registered in this throw sequence.
 
ErrorsetUsermsg (string const &newMsg) noexcept
 replace the previous or default friendly message for the user.
 
ErrorprependInfo (string const &text) noexcept
 give additional developer info.
 

Constructor & Destructor Documentation

◆ LumieraError() [1/2]

template<lumiera_err const & eID, class PAR = Error>
LumieraError ( std::string  description = "",
lumiera_err const  id = eID 
)
inlinenoexcept

Definition at line 195 of file error.hpp.

◆ LumieraError() [2/2]

template<lumiera_err const & eID, class PAR = Error>
LumieraError ( std::exception const &  cause,
std::string  description = "",
lumiera_err const  id = eID 
)
inlinenoexcept

Definition at line 199 of file error.hpp.

+ Inheritance diagram for LumieraError< eID, PAR >:
+ Collaboration diagram for LumieraError< eID, PAR >:

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