Anim 0.1
|
This struct should not be created directly, rather is used as a possible member of ValueResult<T>. Struct that represents an error state that can be returned from a function. Contains a string message describing the error. Use of the ERROR_TAG macro can include the function this struct was created in. Error can be Handled to suppress it throwing it's error message in it's destructor. (This feature can be disabled) More...
#include <ErrorStruct.h>
Public Member Functions | |
ErrorStruct (std::string message) | |
ErrorStruct (ErrorStruct const &other)=delete | |
ErrorStruct (ErrorStruct &&other) noexcept | |
ErrorStruct & | operator= (ErrorStruct const &other)=delete |
ErrorStruct & | operator= (ErrorStruct &&other) noexcept |
std::string | Message () const |
void | HandleError () const |
void | RaiseIfUnhandled () const |
void | ForceRaise () const noexcept(false) |
void | Log () const |
This struct should not be created directly, rather is used as a possible member of ValueResult<T>. Struct that represents an error state that can be returned from a function. Contains a string message describing the error. Use of the ERROR_TAG macro can include the function this struct was created in. Error can be Handled to suppress it throwing it's error message in it's destructor. (This feature can be disabled)