Loading...
Searching...
No Matches
by::errorable Class Referenceabstract

Interface for objects that can report errors. More...

#include <errorable.hpp>

Inheritance diagram for by::errorable:
by::dumpable

Public Member Functions

virtual void log () const =0
 Log error message.
 
void dbgLog () const
 Log error in debug mode only.
 
virtual void logStack () const =0
 Log error with stack trace.
 
virtual const std::string & getMsg () const =0
 
virtual errLv::level getLv () const =0
 
const std::string & getLevelName () const
 Get human-readable error level name.
 
- Public Member Functions inherited from by::dumpable
virtual void dump () const =0
 Dump object state for debugging.
 

Detailed Description

Interface for objects that can report errors.

Provides methods for logging errors with different severity levels and stack trace information. Extends dumpable interface.


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