ADTF
|
Public API for result macros. More...
Go to the source code of this file.
Macros | |
#define | ERROR_DESCRIPTION(_errcode, ...) |
Return an a_util::result::Result object with detailed error information. More... | |
#define | RETURN_ERROR_DESCRIPTION(_errcode, ...) |
Return an a_util::result::Result object with detailed error information. More... | |
Public API for result macros.
Copyright 2024 CARIAD SE. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Definition in file error_def.h.
#define ERROR_DESCRIPTION | ( | _errcode, | |
... | |||
) |
Return an a_util::result::Result object with detailed error information.
The resolved macro instanciates and returns the result object with the error description containing line, file and function name this macro is evaluated from as well as the printf()-like values from the second parameter.
[in] | _errcode | The error code to distribute with the result object. |
[in] | ... | printf()-like arguments creating the error message. |
Definition at line 30 of file error_def.h.
#define RETURN_ERROR_DESCRIPTION | ( | _errcode, | |
... | |||
) |
Return an a_util::result::Result object with detailed error information.
The resolved macro instanciates and returns the result object with the error description containing line, file and function name this macro is evaluated from as well as the printf()-like values from the second parameter.
[in] | _errcode | The error code to distribute with the result object. |
[in] | ... | printf()-like arguments creating the error message. |
Definition at line 39 of file error_def.h.