Encapsulation of an error domain. An error domain is the controlling entity for ErrorCode’s error cod...
std::int32_t CodeType
Type alias for a domain-specific error code value.
std::uint8_t SupportDataType
Type alias type for vendor-specific supplementary data.
Definition of Doip Client Error domain.
DoipErrorDomain() noexcept
Default constructor.
const std::string domain_name_
Store the error domain name.
const char * Message(CodeType error_code) noexcept override
Return a textual representation of the given error code.
const char * Name() const noexcept override
Return the name of this error domain.
core_type::ErrorCode MakeErrorCode(DoipErrorErrc, core_type::ErrorDomain::SupportDataType data) noexcept
Create a new ErrorCode within DoipErrorDomain.
DoipErrorErrc
Definition of error code in Doip Client.