libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Data Structures | |
class | TryBlock |
Public Member Functions | |
Exception (const CallRecord &record) noexcept | |
Exception (CallRecord &&record) noexcept | |
virtual const char * | what (void) const noexcept |
virtual const std::exception & | asStdException (void) const =0 |
virtual std::exception & | asStdException (void)=0 |
template<typename R > requires (std::is_constructible_v<Result, R> && !std::same_as<Result, R>) | |
CallRecord (R resultValue, const char *pMessage=nullptr, GblObject *pObject=nullptr, SourceLocation srcLoc={}) noexcept | |
CallRecord (Result result, const char *pMessage=nullptr, GblObject *pObject=nullptr, SourceLocation srcLoc={}) noexcept | |
CallRecord (const GblCallRecord &other) | |
Public Member Functions inherited from gbl::CallRecord | |
template<typename R > requires (std::is_constructible_v<Result, R> && !std::same_as<Result, R>) | |
CallRecord (R resultValue, const char *pMessage=nullptr, GblObject *pObject=nullptr, SourceLocation srcLoc={}) noexcept | |
CallRecord (Result result, const char *pMessage=nullptr, GblObject *pObject=nullptr, SourceLocation srcLoc={}) noexcept | |
CallRecord (const GblCallRecord &other) | |
Handle * | getHandle (void) const |
Result | getResult (void) const |
const SourceLocation & | getSource (void) const |
const char * | getMessage (void) const |
std::string | getSourceString (void) const |
std::string | toString (void) const |
Public Member Functions inherited from GblCallRecord | |
GBL_ALIGNAS (8) char message[GBL_CTX_RESULT_MSG_BUFFER_SIZE] | |
Static Public Member Functions | |
static const CallRecord & | throwException (const CallRecord &record) |
static const CallRecord & | checkThrow (const CallRecord &record) |
static const CallRecord & | checkThrow (std::invocable auto fn) |
static CallRecord | tryCatchRecord (std::invocable auto fn, SourceLocation loc=SourceLocation(SRC_FILE, nullptr, SRC_LN, SRC_COL)) noexcept |
Additional Inherited Members | |
Data Fields inherited from GblCallRecord | |
GblSourceLocation | srcLocation |
GBL_RESULT | result |
Definition at line 13 of file gimbal_exception.hpp.
|
inlinenoexcept |
Definition at line 18 of file gimbal_exception.hpp.
|
inlinenoexcept |
Definition at line 20 of file gimbal_exception.hpp.
|
inlinevirtualnoexcept |
Definition at line 23 of file gimbal_exception.hpp.
|
inlinestatic |
Definition at line 135 of file gimbal_exception.hpp.
|
inlinestatic |
Definition at line 32 of file gimbal_exception.hpp.
|
inlinestatic |
Definition at line 40 of file gimbal_exception.hpp.
|
inlinestaticnoexcept |
Definition at line 112 of file gimbal_exception.hpp.
|
inlinenoexcept |
Definition at line 46 of file gimbal_call_stack.hpp.
|
inlinenoexcept |
Definition at line 49 of file gimbal_call_stack.hpp.
|
inline |
Definition at line 51 of file gimbal_call_stack.hpp.