![]() |
#include <aerospike/as_status.h>
#include <aerospike/as_string.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
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 47 of file as_error.h.
#define AS_ERROR_MESSAGE_MAX_SIZE 1024 |
The size of as_error.message
Definition at line 40 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 143 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 135 of file as_error.h.