Loading...
Searching...
No Matches
Go to the documentation of this file.
15#ifndef IOX2_BB_REPORTING_ERROR_REPORTING_MACROS_HPP
16#define IOX2_BB_REPORTING_ERROR_REPORTING_MACROS_HPP
40#define IOX2_REPORT(error, kind) \
41 iox2::legacy::er::forwardNonFatalError( \
42 iox2::legacy::er::toError(error), kind, iox2::bb::detail::SourceLocation::current(), "")
46#define IOX2_REPORT_FATAL(error) \
47 iox2::legacy::er::forwardFatalError( \
48 iox2::legacy::er::toError(error), iox2::legacy::er::FATAL, iox2::bb::detail::SourceLocation::current(), "")
54#define IOX2_REPORT_IF(condition, error, kind) \
56 iox2::legacy::er::forwardNonFatalError( \
57 iox2::legacy::er::toError(error), kind, iox2::bb::detail::SourceLocation::current(), #condition); \
64#define IOX2_REPORT_FATAL_IF(condition, error) \
66 iox2::legacy::er::forwardFatalError(iox2::legacy::er::toError(error), \
67 iox2::legacy::er::FATAL, \
68 iox2::bb::detail::SourceLocation::current(), \