Etermal
Embeddable Terminal and shell for OpenGL
|
1 #ifndef ETERMAL_TERMINAL_ERROR_H_INCLUDED
2 #define ETERMAL_TERMINAL_ERROR_H_INCLUDED
54 const char *
what() const noexcept override;
bool severe
If the error is severe or not.
Definition: termError.h:31
std::string message
The error message.
Definition: termError.h:19
termError(const std::string &location, const std::string &message, int code, bool severe) noexcept
Construct a new termError with arguments.
termError()
Construct a new termError, setting code and severe to 0 and false, respectively.
std::string location
The location within the etm namespace that the error was detected.
Definition: termError.h:17
int code
The error code.
Definition: termError.h:22
Contains information about an error that was encountered by the Terminal.
Definition: termError.h:13
const char * what() const noexcept override
Returns the c_str() of message.