Diag-Client-Lib
|
Namespaces | |
anonymous_namespace{doip_error_domain.cpp} | |
Classes | |
class | DoipErrorDomain |
Definition of Doip Client Error domain. More... | |
Enumerations | |
enum class | DoipErrorErrc : core_type::ErrorDomain::CodeType { kInitializationFailed = 0U , kDeInitializationFailed = 1U , kSocketError = 2U , kGenericError = 3U } |
Definition of error code in Doip Client. More... | |
Functions | |
core_type::ErrorCode | MakeErrorCode (DoipErrorErrc code, core_type::ErrorDomain::SupportDataType data=core_type::ErrorDomain::SupportDataType{}) noexcept |
Create a new ErrorCode within DoipErrorDomain. More... | |
Definition of error code in Doip Client.
Enumerator | |
---|---|
kInitializationFailed | Failure on Initialization |
kDeInitializationFailed | Failure on De-Initialization |
kSocketError | Failure on Socket Open/Destroy |
kGenericError | Generic Error |
Definition at line 22 of file doip_error_domain.h.
|
noexcept |
Create a new ErrorCode within DoipErrorDomain.
This function is used internally by constructors of ErrorCode. It is usually not used directly by users
[in] | code | The DoipErrorDomain-specific error code value |
[in] | data | The optional vendor-specific error data |
Definition at line 61 of file doip_error_domain.cpp.
References doip_client::error_domain::anonymous_namespace{doip_error_domain.cpp}::doip_error_domain.