Class zmbt::ErrorOr¶
template <class Return>
Public Functions¶
| Type | Name |
|---|---|
| ErrorOr () = default |
|
| ErrorInfo const & | as_error () const |
| Return const & | as_return () const |
| void | dump_to (boost::json::object & obj) const |
| bool | is_error () const |
| bool | is_null () const |
| bool | is_return () const |
Public Static Functions¶
| Type | Name |
|---|---|
| ErrorOr< Return > | MakeError (ErrorInfo err) |
| ErrorOr< Return > | MakeValue (Return ret) |
Public Functions Documentation¶
function ErrorOr¶
function as_error¶
function as_return¶
function dump_to¶
function is_error¶
function is_null¶
function is_return¶
Public Static Functions Documentation¶
function MakeError¶
function MakeValue¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/model/error_or_return.hpp