Skip to content

File error_util.hpp

FileList > illixr > error_util.hpp

Go to the source code of this file

  • #include "global_module_defs.hpp"
  • #include <iostream>
  • #include <spdlog/spdlog.h>
  • #include <string>

Namespaces

Type Name
namespace ILLIXR
RAC_ERRNO_MSG.

Macros

Type Name
define RAC_ERRNO () [**ILLIXR::report\_and\_clear\_errno**](namespaceILLIXR.md#function-report_and_clear_errno)(\_\_FILE\_\_, \_\_LINE\_\_, \_\_func\_\_)
Parameterless macro for report_and_clear_errno.
define RAC_ERRNO_MSG (msg) [**ILLIXR::report\_and\_clear\_errno**](namespaceILLIXR.md#function-report_and_clear_errno)(\_\_FILE\_\_, \_\_LINE\_\_, \_\_func\_\_, msg)
RAC_ERRNO.

Macro Definition Documentation

define RAC_ERRNO

Parameterless macro for report_and_clear_errno.

#define RAC_ERRNO (

) `ILLIXR::report_and_clear_errno (__FILE__, __LINE__, __func__)`


define RAC_ERRNO_MSG

RAC_ERRNO.

#define RAC_ERRNO_MSG (
    msg
) `ILLIXR::report_and_clear_errno (__FILE__, __LINE__, __func__, msg)`

Parameterized macro for report_and_clear_errno.

Prints a message from the calling context for additional info.



The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/error_util.hpp