#include <aerospike/as_std.h>
#include <aerospike/as_status.h>
#include <aerospike/as_string.h>
#include <stdarg.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__ ); |
Set all as_error fields and default in_doubt to false. Variable arguments are not accepted.
Definition at line 150 of file as_error.h.
#define as_error_update | ( | __err, | |
__code, | |||
__fmt, | |||
... | |||
) | as_error_setallv( __err, __code, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__ ); |
Set all as_error fields and default in_doubt to false. Variable arguments are accepted.
Definition at line 142 of file as_error.h.