ADTF  3.18.2
tErrorString

Wrapper for stringification of error codes - for usage by struct tError. More...

Inheritance diagram for tErrorString:
[legend]

Public Member Functions

 tErrorString ()=default
 Default constructor.
 
 tErrorString (const tErrorCode::error_code_type i_nErrorCode, const tChar *i_strErrorCode)
 Construct with error code and error string. More...
 
const tCharstrErrorCode () const
 Get the error code as string representation. More...
 

Private Attributes

const tChar *const strValue
 Pointer to existing error code string.
 

Additional Inherited Members

- Public Types inherited from tErrorCode
typedef tInt32 error_code_type
 Type of the error code.
 
- Public Attributes inherited from tErrorCode
error_code_type value
 Value of this error code.
 

Detailed Description

Wrapper for stringification of error codes - for usage by struct tError.

Definition at line 123 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.

Constructor & Destructor Documentation

◆ tErrorString()

tErrorString ( const tErrorCode::error_code_type  i_nErrorCode,
const tChar i_strErrorCode 
)
inline

Construct with error code and error string.

Parameters
[in]i_nErrorCodeThe error code - passed through to tErrorCode base class
[in]i_strErrorCodeThe error code string

Definition at line 133 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.

Member Function Documentation

◆ strErrorCode()

const tChar* strErrorCode ( ) const
inline

Get the error code as string representation.

Returns
The error code as string representation

Definition at line 140 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h.

References strValue.