Diagnostic Management error domain. More...
#include <diag_error_domain.h>
Public Member Functions | |
DiagErrorDomain (DiagErrorDomain &other)=delete | |
void | operator= (const DiagErrorDomain &)=delete |
const char * | Name () const noexcept override |
Get the domain's name. More... | |
const char * | Message (ara::core::ErrorDomain::CodeType errorCode) const noexcept override |
Get error message of a specific error code. More... | |
ara::core::ErrorCode | MakeErrorCode (DiagErrc code) noexcept |
Make an error code based on the given giagnostic error type. More... | |
Public Member Functions inherited from ara::core::ErrorDomain | |
constexpr | ErrorDomain (IdType id) noexcept |
Constructor. More... | |
ErrorDomain (const ErrorDomain &)=delete | |
ErrorDomain (ErrorDomain &&)=delete | |
ErrorDomain & | operator= (const ErrorDomain &)=delete |
ErrorDomain & | operator= (ErrorDomain &&)=delete |
constexpr bool | operator== (const ErrorDomain &other) const noexcept |
constexpr bool | operator!= (const ErrorDomain &other) const noexcept |
constexpr IdType | Id () const noexcept |
Get the domain ID. More... | |
Static Public Member Functions | |
static ara::core::ErrorDomain * | GetDiagDomain () |
Get the global diagnostic error domain. More... | |
Additional Inherited Members | |
Public Types inherited from ara::core::ErrorDomain | |
using | IdType = uint64_t |
Alias type of the domain ID. | |
using | CodeType = uint32_t |
Alias type of the error code. | |
Diagnostic Management error domain.
|
static |
Get the global diagnostic error domain.
|
noexcept |
Make an error code based on the given giagnostic error type.
code | Diagnostic error code input |
|
overridevirtualnoexcept |
Get error message of a specific error code.
errorCode | Error code of interest |
Implements ara::core::ErrorDomain.
|
overridevirtualnoexcept |