libtransistor
A userland library for the Nintendo Switch
|
Public Member Functions | |
ResultCode (result_t code) | |
bool | IsOk () |
bool | operator== (const ResultCode &other) const |
trn_result_description_t | Lookup () |
Static Public Member Functions | |
static tl::expected < std::nullopt_t, ResultCode > | ExpectOk (result_t code) |
static void | AssertOk (result_t code) |
template<typename T > | |
static T && | AssertOk (tl::expected< T, ResultCode > &&monad) |
Data Fields | |
result_t | code |