A wrapper around the raw error code in a specific ErrorDomain.
More...
#include <error_code.h>
A wrapper around the raw error code in a specific ErrorDomain.
◆ ErrorCode()
Constructor.
- Parameters
-
value | Error code value |
domain | Error code domain |
◆ Domain()
constexpr ErrorDomain const & ara::core::ErrorCode::Domain |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Get error code domain.
- Returns
- Error domain which the error code belongs to
◆ Message()
std::string ara::core::ErrorCode::Message |
( |
| ) |
const |
|
noexcept |
Get error message.
- Returns
- Error code corresponding message in the defined domain
◆ Value()
Get error code value.
- Returns
- Raw error code value