ADTF  3.18.2
legacy_error_macros.h File Reference

This header provides the legacy error macros. More...

Go to the source code of this file.

Macros

#define RETURN_IF_FAILED(s)
 legacy error macro More...
 

Detailed Description

This header provides the legacy error macros.

Important: This header may not be included in ddl.h!

Definition in file legacy_error_macros.h.

Macro Definition Documentation

◆ RETURN_IF_FAILED

#define RETURN_IF_FAILED (   s)
Value:
{ \
const a_util::result::Result _errcode(s); \
if (!_errcode) { \
return (_errcode); \
} \
}
A common result class usable as return value throughout.

legacy error macro

Parameters
sthe expression

Definition at line 27 of file legacy_error_macros.h.