|
| Try (const T &v) |
|
| Try (api::ErrorCode code, const std::string &message) |
|
void | fail (api::ErrorCode code, const std::string &message) |
|
void | fail (const Exception &ex) |
|
void | success (const T &v) |
|
const T & | getValue () const |
|
const Exception & | getFailure () const |
|
bool | isFailure () const |
|
bool | isSuccess () const |
|
bool | isComplete () const |
|
Option< T > | toOption () const |
|
Option< Exception > | exception () const |
|
const T & | getOrThrow () const |
|
template<class U > |
const T & | getOrThrowException () const |
|
Try< T > | mapException (api::ErrorCode code) |
|
|
static const Try< T > | from (std::function< T()> lambda) |
|
The documentation for this class was generated from the following file: