Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AnimationSystem::ErrorStruct Struct Reference

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>

Collaboration diagram for AnimationSystem::ErrorStruct:

Public Member Functions

 ErrorStruct (std::string message)
 
 ErrorStruct (ErrorStruct const &other)=delete
 
 ErrorStruct (ErrorStruct &&other) noexcept
 
ErrorStructoperator= (ErrorStruct const &other)=delete
 
ErrorStructoperator= (ErrorStruct &&other) noexcept
 
std::string Message () const
 
void HandleError () const
 
void RaiseIfUnhandled () const
 
void ForceRaise () const noexcept(false)
 
void Log () const
 

Detailed Description

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)


The documentation for this struct was generated from the following file: