termstyle 1.0.0-pre.3
An open-source C++ header file that enables developers to easily define and apply customizable style presets for terminal outputs such as warnings, infos, and errors.
Loading...
Searching...
No Matches
Error Class Reference

Base class for all exceptions thrown by the library. More...

#include <termstyle.hpp>

Inheritance diagram for Error:
BadColorID PresetNameUsed PresetNotFound

Public Member Functions

TERMSTYLE_NODISCARD int getExitCode () const
 
TERMSTYLE_NODISCARD std::string getErrorName () const
 
 Error (std::string name, std::string msg, int exit_code=static_cast< int >(ExitCodes::BaseClass))
 
 Error (std::string name, std::string msg, ExitCodes exit_code)
 

Detailed Description

Base class for all exceptions thrown by the library.


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