Typed error carrying a cgdata_error code and optional message.
| Name | Description |
|---|---|
ErrorInfo<CGDataError> | Base class for user error types. Users should declare their error types like: |
| Name | Description |
|---|---|
CGDataError [constructor] | Construct a CGDataError from Err and optional message ErrStr. |
convertToErrorCode [virtual] | Convert this error to a std::error_code. |
get | Return the cgdata_error enumerator for this error. |
getMessage | Return the optional detail message for this error. |
log [virtual] | Write the error message to OS. |
message [virtual] | Return the error message as a string. |
| Name | Description |
|---|---|
classID | Return the RTTI class identifier for ThisErrT. |
take | Consume a CGDataError from E and return its code and message. |
| Name | Description |
|---|---|
ID | RTTI identifier used by ErrorInfo::classID. |
| Name | Description |
|---|---|
ErrorInfo | Inherit constructors from the parent error-info type. |