Sleeping Wombat Common Library
0.50.0
swCommonLibrary
|
Alexandrescu Expected type for error handling. More...
#include <Nullable.h>
Public Types | |
typedef ExceptionPtr | ErrorType |
Public Member Functions | |
Nullable (Result result) | |
Nullable (const ErrorType &error) | |
Nullable (const std::string &error) | |
template<typename ExceptionType > | |
Nullable (std::shared_ptr< ExceptionType > error) | |
bool | IsValid () |
std::string | GetErrorReason () |
ErrorType | GetError () |
Private Attributes | |
ErrorType | Error |
bool | m_isValid |
Alexandrescu Expected type for error handling.