|
Dev Essential
|
#include <error_description.h>
Inherits a_util::result::detail::IErrorDescription.
Public Member Functions | |
| ErrorDescription (const ErrorDescription &)=delete | |
| ErrorDescription & | operator= (const ErrorDescription &)=delete |
| ErrorDescription (ErrorDescription &&)=delete | |
| ErrorDescription & | operator= (ErrorDescription &&)=delete |
| ~ErrorDescription ()=default | |
| DTOR. | |
| ErrorDescription (std::int32_t error_code, const char *error_description, std::int32_t line, const char *file, const char *function, const char *error_label) | |
| Construct error description object with complete set of error information. | |
| std::int32_t | getErrorCode () const |
| Get error code. | |
| std::int32_t | getLine () const |
| Get line in source file where the error was reported. | |
| const char * | getErrorDescription () const |
| Get error code as string representation. | |
| const char * | getFileName () const |
| Get name of the file the error was reported in. | |
| const char * | getFunctionName () const |
| Get name of the function the error was reported in. | |
| const char * | getErrorCodeLabel () const |
| Get error code label. | |
Additional Inherited Members | |
Protected Member Functions inherited from a_util::result::detail::IErrorDescription | |
| ~IErrorDescription () | |
| DTOR. | |
Implements the error description interface for heap allocated error cases
|
inline |
Construct error description object with complete set of error information.
| ErrorCode | Error code (to deduce specialized template to stringify the error code) |
| [in] | error_code | The The concrete error object |
| [in] | error_description | Complete description of the error |
| [in] | line | Line in source file the error was reported (default: -1) |
| [in] | file | Source file the error was reported in |
| [in] | function | Function the error was reported in |
| [in] | error_label | The error code as an string object |
|
inlinevirtual |
|
inlinevirtual |
Get error code label.
Implements a_util::result::detail::IErrorDescription.
|
inlinevirtual |
Get error code as string representation.
Implements a_util::result::detail::IErrorDescription.
|
inlinevirtual |
Get name of the file the error was reported in.
Implements a_util::result::detail::IErrorDescription.
|
inlinevirtual |
Get name of the function the error was reported in.
Implements a_util::result::detail::IErrorDescription.
|
inlinevirtual |
Get line in source file where the error was reported.
Implements a_util::result::detail::IErrorDescription.