Structured error object returned by RADResult and newer APIs.
More...
#include <RADCore.h>
Structured error object returned by RADResult and newer APIs.
◆ RADError() [1/2]
| RADCore::RADError::RADError |
( |
| ) |
|
|
default |
Creates a no-error object.
◆ RADError() [2/2]
| RADCore::RADError::RADError |
( |
int |
code, |
|
|
std::string |
message |
|
) |
| |
|
inline |
Creates an error with code and message.
◆ code()
| int RADCore::RADError::code |
( |
| ) |
const |
|
inline |
Returns numeric error code; 0 means no error.
◆ hasError()
| bool RADCore::RADError::hasError |
( |
| ) |
const |
|
inline |
Returns true when this object represents an error.
◆ message()
| const std::string& RADCore::RADError::message |
( |
| ) |
const |
|
inline |
Returns human-readable error message.
The documentation for this class was generated from the following file:
- /media/jvincent/Kingspec512/repos/RADLib/RADCore/headers/RADCore.h