|
iceoryx2
C++ Language Bindings
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | AssertViolationKind |
| struct | ConfigurationParameters |
| struct | ConfigurationParameters< ConfigurationTag > |
| struct | ConfigurationTag |
| class | DefaultErrorHandler |
| Defines the default reaction of dynamic error handling. The default reaction is to do nothing apart from logging and termination on panic. As this is common for all error handling of the given custom implementation, this happens in the reporting API before the (polymorphic) custom behavior is invoked. More... | |
| struct | EnforceViolationKind |
| struct | ErrorCode |
| struct | ErrorDescriptor |
| Contains all required information about the error. Can be extended as needed without breaking the interface. More... | |
| class | ErrorHandlerInterface |
| Defines the dynamic error handling interface (i.e. changeable at runtime). More... | |
| struct | FatalKind |
| struct | IsFatal |
| struct | IsFatal< AssertViolationKind > |
| struct | IsFatal< EnforceViolationKind > |
| struct | IsFatal< FatalKind > |
| struct | ModuleId |
| struct | RuntimeErrorKind |
| class | Violation |
Enumerations | |
| enum class | ViolationErrorCode : iox2::legacy::er::ErrorCode::type { ASSERT_VIOLATION , ENFORCE_VIOLATION } |
Definition at line 39 of file configuration.hpp.
| using iox2::legacy::er::DefaultErrorHandlerGuard = typedef iox2::legacy::StaticLifetimeGuard<DefaultErrorHandler> |
Definition at line 29 of file error_handler.hpp.
| using iox2::legacy::er::ErrorHandler = typedef iox2::legacy::PolymorphicHandler<ErrorHandlerInterface, DefaultErrorHandler> |
Definition at line 27 of file error_handler.hpp.
| Enumerator | |
|---|---|
| ASSERT_VIOLATION | |
| ENFORCE_VIOLATION | |
Definition at line 34 of file violation.hpp.
|
inline |
Forwards a fatal error and does not return.
| error | the error |
| kind | the kind of error (category) |
| location | the location of the error |
| stringifiedCondition | the condition as string if a macro with a condition was used; an empty string otherwise |
Definition at line 59 of file error_forwarding.hpp.
References iox2::legacy::always_false_v, panic(), and report().
|
inline |
Forwards a fatal error and a message and does not return.
| error | the error |
| kind | the kind of error (category) |
| location | the location of the error |
| stringifiedCondition | the condition as string if a macro with a condition was used; an empty string otherwise |
| msg | the message to be forwarded |
Definition at line 95 of file error_forwarding.hpp.
References iox2::legacy::always_false_v, panic(), and report().
|
inline |
Forwards a non-fatal error.
| error | the error |
| kind | the kind of error (category) |
| location | the location of the error |
| stringifiedCondition | the condition as string if a macro with a condition was used; an empty string otherwise |
Definition at line 77 of file error_forwarding.hpp.
References iox2::legacy::always_false_v, and report().
|
inline |
Forwards that a panic state was encountered and does not return.
| location | the location of the panic invocation |
| msg | the message to be forwarded |
Definition at line 37 of file error_forwarding.hpp.
References iox2::legacy::always_false_v, and panic().
Referenced by iox2::legacy::er::detail::unreachable_wrapped().
Definition at line 64 of file error_kind.hpp.
|
constexpr |
Definition at line 74 of file error_kind.hpp.
|
constexpr |
Definition at line 79 of file error_kind.hpp.
|
constexpr |
Definition at line 69 of file error_kind.hpp.
|
inline |
Definition at line 43 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, and iox2::legacy::PolymorphicHandler< Interface, Default, Hooks >::get().
Referenced by forwardFatalError(), forwardFatalError(), forwardPanic(), panic(), and panic().
|
inline |
Definition at line 50 of file error_reporting_impl.hpp.
References IOX2_ERROR_INTERNAL_LOG_PANIC, and panic().
|
inline |
Definition at line 60 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, IOX2_ERROR_INTERNAL_LOG_PANIC, and panic().
|
inline |
Definition at line 155 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, and iox2::legacy::er::detail::report().
|
inline |
Definition at line 172 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, and iox2::legacy::er::detail::report().
|
inline |
Definition at line 163 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, and iox2::legacy::er::detail::report().
|
inline |
Definition at line 182 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, and iox2::legacy::er::detail::report().
|
inline |
|
inline |
Definition at line 77 of file error_reporting_impl.hpp.
References iox2::legacy::always_false_v, iox2::legacy::PolymorphicHandler< Interface, Default, Hooks >::get(), IOX2_ERROR_INTERNAL_LOG, iox2::legacy::er::detail::logStringifiedCondition(), toCode(), toErrorName(), and toModuleName().
Referenced by forwardFatalError(), forwardFatalError(), and forwardNonFatalError().
Definition at line 83 of file types.hpp.
Referenced by report(), iox2::legacy::er::detail::report(), iox2::legacy::er::detail::report(), and report().
|
inline |
|
inlineprotected |
Definition at line 97 of file hoofs_error_reporting.hpp.
Referenced by iox2::bb::testing::has_error(), toErrorName(), and toModuleName().
|
constexpr |
Definition at line 87 of file error_kind.hpp.
|
constexpr |
Definition at line 90 of file error_kind.hpp.
Definition at line 84 of file error_kind.hpp.
|
constexpr |
Definition at line 33 of file error_kind.hpp.
|
inlineprotected |
Definition at line 101 of file hoofs_error_reporting.hpp.