Definition at line 51 of file gimbal_exception.hpp.
◆ TryBlock()
Definition at line 56 of file gimbal_exception.hpp.
56 :
57 record_(Result::Success, "Success", nullptr, src) {}
◆ operator=()
TryBlock & gimbal::Exception::TryBlock::operator= |
( |
std::invocable auto |
fn | ) |
|
|
inline |
Definition at line 59 of file gimbal_exception.hpp.
59 {
60 record_ = Exception::tryCatchRecord(std::forward<decltype(fn)>(fn), std::move(getRecord().getSource()));
61 return *this;
62 }
◆ getRecord()
const CallRecord & gimbal::Exception::TryBlock::getRecord |
( |
void |
| ) |
const |
|
inline |
◆ getResult()
Result gimbal::Exception::TryBlock::getResult |
( |
void |
| ) |
const |
|
inline |
◆ getSource()
const SourceLocation & gimbal::Exception::TryBlock::getSource |
( |
void |
| ) |
const |
|
inline |
◆ getMessage()
const char * gimbal::Exception::TryBlock::getMessage |
( |
void |
| ) |
const |
|
inline |
◆ operator bool()
gimbal::Exception::TryBlock::operator bool |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: