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 & gbl::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()
◆ getResult()
Result gbl::Exception::TryBlock::getResult |
( |
void |
| ) |
const |
|
inline |
◆ getSource()
◆ getMessage()
◆ operator bool()
gbl::Exception::TryBlock::operator bool |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: