Wrapper for stringification of error codes - for usage by struct tError. More...
#include <error.h>
Public Member Functions | |
tErrorString ()=default | |
Default constructor. | |
constexpr | tErrorString (const tErrorCode::error_code_type i_nErrorCode, const tChar *i_strErrorCode) noexcept |
Construct with error code and error string. | |
constexpr const tChar * | strErrorCode () const noexcept |
Get the error code as string representation. | |
Private Attributes | |
const tChar *const | strValue |
Pointer to existing error code string. | |
Additional Inherited Members | |
![]() | |
typedef tInt32 | error_code_type |
Type of the error code. | |
![]() | |
error_code_type | value |
Value of this error code. | |
Wrapper for stringification of error codes - for usage by struct tError.
Definition at line 28 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.
|
inlineconstexprnoexcept |
Construct with error code and error string.
[in] | i_nErrorCode | The error code - passed through to tErrorCode base class |
[in] | i_strErrorCode | The error code string |
Definition at line 38 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.
|
inlineconstexprnoexcept |
Get the error code as string representation.
Definition at line 45 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.
References strValue.
|
private |
Pointer to existing error code string.
Definition at line 48 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.
Referenced by strErrorCode().