![]() |
#include <aerospike/as_status.h>#include <stdarg.h>#include <stdint.h>#include <stdio.h>#include <string.h>
Include dependency graph for as_error.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | as_error |
Macros | |
| #define | AS_ERROR_MESSAGE_MAX_LEN (AS_ERROR_MESSAGE_MAX_SIZE - 1) |
| #define | AS_ERROR_MESSAGE_MAX_SIZE 1024 |
| #define | as_error_set_message(__err, __code, __msg) as_error_setall( __err, __code, __msg, __func__, __FILE__, __LINE__ ); |
| #define | as_error_update(__err, __code, __fmt,...) as_error_setallv( __err, __code, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__ ); |
| #define AS_ERROR_MESSAGE_MAX_LEN (AS_ERROR_MESSAGE_MAX_SIZE - 1) |
The maximum string length of as_error.message
Definition at line 46 of file as_error.h.
| #define AS_ERROR_MESSAGE_MAX_SIZE 1024 |
The size of as_error.message
Definition at line 39 of file as_error.h.
| #define as_error_set_message | ( | __err, | |
| __code, | |||
| __msg | |||
| ) | as_error_setall( __err, __code, __msg, __func__, __FILE__, __LINE__ ); |
as_error_set_message(&as->error, AEROSPIKE_ERR, "error message");
Definition at line 142 of file as_error.h.
| #define as_error_update | ( | __err, | |
| __code, | |||
| __fmt, | |||
| ... | |||
| ) | as_error_setallv( __err, __code, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__ ); |
as_error_update(&as->error, AEROSPIKE_OK, "%s %d", "a", 1);
Definition at line 134 of file as_error.h.