#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <uhd/config.hpp>
#include <uhd/exception.hpp>
#include "nirio_err_template.h"
Go to the source code of this file.
◆ ENABLE_EXTENDED_ERROR_INFO
#define ENABLE_EXTENDED_ERROR_INFO false |
◆ NIRIO_ERR_INFO
#define NIRIO_ERR_INFO |
( |
|
CONST_NAME, |
|
|
|
ERR_CODE, |
|
|
|
ERR_MSG |
|
) |
| static const nirio_status CONST_NAME = ERR_CODE; |
◆ nirio_status_chain
#define nirio_status_chain |
( |
|
func, |
|
|
|
status |
|
) |
| |
Value: status = (func); \
fprintf(stderr,
"ERROR: The following function call returned status code %d\n%s\n%s:%d\n",
status,#func,__FILE__,__LINE__); \
} \
} \
#define ENABLE_EXTENDED_ERROR_INFO
Definition: status.h:29
#define nirio_status_not_fatal(status)
Definition: status.h:50
#define nirio_status_fatal(status)
Definition: status.h:49
◆ nirio_status_fatal
#define nirio_status_fatal |
( |
|
status | ) |
((status) < 0) |
◆ nirio_status_not_fatal
#define nirio_status_not_fatal |
( |
|
status | ) |
((status) >= 0) |
◆ nirio_status