A class that defines the domain of an ErrorCode to avoid code interferences.
Definition: error_domain.h:14
uint64_t IdType
Alias type of the domain ID.
Definition: error_domain.h:17
uint32_t CodeType
Alias type of the error code.
Definition: error_domain.h:19
Diagnostic Management error domain.
Definition: diag_error_domain.h:35
static ara::core::ErrorDomain * GetDiagDomain()
Get the global diagnostic error domain.
Definition: diag_error_domain.cpp:56
const char * Name() const noexcept override
Get the domain's name.
Definition: diag_error_domain.cpp:10
const char * Message(ara::core::ErrorDomain::CodeType errorCode) const noexcept override
Get error message of a specific error code.
Definition: diag_error_domain.cpp:15
ara::core::ErrorCode MakeErrorCode(DiagErrc code) noexcept
Make an error code based on the given giagnostic error type.
Definition: diag_error_domain.cpp:66