ADTF
Loading...
Searching...
No Matches
error_description_intf.h
Go to the documentation of this file.
1
15
16#ifndef A_UTIL_UTIL_RESULT_DETAIL_ERROR_DESCRIPTION_INTERFACE_HEADER_INCLUDED
17#define A_UTIL_UTIL_RESULT_DETAIL_ERROR_DESCRIPTION_INTERFACE_HEADER_INCLUDED
18
19#include <cstdint>
20
21namespace a_util {
22namespace result {
23namespace detail {
29public:
34 virtual std::int32_t getErrorCode() const = 0;
35
40 virtual std::int32_t getLine() const = 0;
41
46 virtual const char* getErrorDescription() const = 0;
47
52 virtual const char* getFileName() const = 0;
53
58 virtual const char* getFunctionName() const = 0;
59
64 virtual const char* getErrorCodeLabel() const = 0;
65
66protected:
69 {
70 }
71};
72
73} // namespace detail
74} // namespace result
75} // namespace a_util
76
77#endif // A_UTIL_UTIL_RESULT_DETAIL_ERROR_DESCRIPTION_INTERFACE_HEADER_INCLUDED
Definition error_description_intf.h:28
virtual std::int32_t getErrorCode() const =0
virtual const char * getFileName() const =0
virtual const char * getErrorDescription() const =0
virtual const char * getErrorCodeLabel() const =0
virtual std::int32_t getLine() const =0
virtual const char * getFunctionName() const =0
~IErrorDescription()
DTOR.
Definition error_description_intf.h:68
Serves as namespace for result implementation details.
Definition result.h:22
Serves as component for functionality handling error and return types.
Definition result.h:20
Serves as the root component, with common functionality documented in core functionality.
Definition base.h:24