by::errorable Class Referenceabstract

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

#include <errorable.hpp>

Inheritance diagram for by::errorable:
by::dumpable by::baseErr by::err by::nerr by::ndummyErr

Public Member Functions

virtual void log () const =0
 Log error message. More...
 
void dbgLog () const
 Log error in debug mode only.
 
virtual void logStack () const =0
 Log error with stack trace. More...
 
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. More...
 

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.

Member Function Documentation

◆ log()

virtual void by::errorable::log ( ) const
pure virtual

Log error message.

Implemented in by::err, by::nerr, and by::ndummyErr.

◆ logStack()

virtual void by::errorable::logStack ( ) const
pure virtual

Log error with stack trace.

Implemented in by::baseErr, and by::nerr.


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