#include <error_description.h>
Inherits a_util::result::detail::IErrorDescription.
|
|
| ~IErrorDescription () |
| | DTOR.
|
| |
Implements the error description interface for heap allocated error cases
◆ ErrorDescription()
| a_util::result::detail::ErrorDescription::ErrorDescription |
( |
std::int32_t | error_code, |
|
|
const char * | error_description, |
|
|
std::int32_t | line, |
|
|
const char * | file, |
|
|
const char * | function, |
|
|
const char * | error_label ) |
|
inline |
Construct error description object with complete set of error information.
- Template Parameters
-
| ErrorCode | Error code (to deduce specialized template to stringify the error code) |
- Parameters
-
| [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 |
◆ getErrorCode()
| std::int32_t a_util::result::detail::ErrorDescription::getErrorCode |
( |
| ) |
const |
|
inlinevirtual |
◆ getErrorCodeLabel()
| const char * a_util::result::detail::ErrorDescription::getErrorCodeLabel |
( |
| ) |
const |
|
inlinevirtual |
◆ getErrorDescription()
| const char * a_util::result::detail::ErrorDescription::getErrorDescription |
( |
| ) |
const |
|
inlinevirtual |
◆ getFileName()
| const char * a_util::result::detail::ErrorDescription::getFileName |
( |
| ) |
const |
|
inlinevirtual |
◆ getFunctionName()
| const char * a_util::result::detail::ErrorDescription::getFunctionName |
( |
| ) |
const |
|
inlinevirtual |
◆ getLine()
| std::int32_t a_util::result::detail::ErrorDescription::getLine |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files:
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/a_util/result/detail/error_description.h
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/a_util/result/detail/error_description_impl.h