Class endstone::Error¶
Represents an error with a message and the stack trace.
#include <endstone/util/error.h>
Public Functions¶
Type | Name |
---|---|
Error (std::string_view message, std::string_view stack_trace) |
|
std::string_view | getMessage () noexcept const Returns the error message. |
std::string_view | getStackTrace () noexcept const Returns the stack trace associated with the error. |
Public Functions Documentation¶
function Error¶
function getMessage¶
Returns the error message.
Returns:
The error message.
function getStackTrace¶
Returns the stack trace associated with the error.
Returns:
The stack trace associated with the error.
The documentation for this class was generated from the following file include/endstone/util/error.h