icedb
version 0.5.1
Snow particle scattering database API
|
#include "../icedb/error.hpp"
#include "../private/options.hpp"
#include "../icedb/error_context.h"
#include "../icedb/error.h"
#include "../icedb/util.h"
#include <cstdio>
#include <cstring>
#include <vector>
#include <string>
#include <cwchar>
#include <complex>
#include <list>
#include <sstream>
Go to the source code of this file.
Classes | |
class | icedb::error::error_options_inner |
Namespaces | |
icedb | |
icedb::error | |
Macros | |
#define | DOTYPES(f) |
#define | IMPL_xError_ADD(T) template xError& xError::add<T>(const std::string&, const T); |
#define DOTYPES | ( | f | ) |
#define IMPL_xError_ADD | ( | T | ) | template xError& xError::add<T>(const std::string&, const T); |
size_t error_code_to_message | ( | ICEDB_error_code | err, |
size_t | buf_size, | ||
char * | buf | ||
) |
Definition at line 143 of file error.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_COMPAT_strnlen_s, ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_ERRORCODES_MAP, and ICEDB_ERRORCODES_TOTAL.
size_t error_code_to_message_size | ( | ICEDB_error_code | err | ) |
Definition at line 134 of file error.cpp.
References ICEDB_COMPAT_strnlen_s, ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_ERRORCODES_MAP, and ICEDB_ERRORCODES_TOTAL.
size_t error_code_to_stream | ( | ICEDB_error_code | err, |
FILE * | fp | ||
) |
Definition at line 154 of file error.cpp.
References ICEDB_COMPAT_fputs_s, ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_ERRORCODES_MAP, and ICEDB_ERRORCODES_TOTAL.
void error_context_deallocate | ( | struct ICEDB_error_context * | c | ) |
Definition at line 170 of file error.cpp.
References ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_free(), ICEDB_error_context::message_text, ICEDB_error_context::num_var_fields, ICEDB_error_context_var_val::val, ICEDB_error_context::var_vals, and ICEDB_error_context_var_val::varname.
Referenced by icedb::error::get_error_context_thread_local().
ICEDB_BEGIN_DECL_C ICEDB_error_code error_context_to_code | ( | const struct ICEDB_error_context * | err | ) |
Definition at line 17 of file error.cpp.
References ICEDB_error_context::code, and ICEDB_DEBUG_RAISE_EXCEPTION.
size_t error_context_to_message | ( | const struct ICEDB_error_context * | err, |
size_t | buf_size, | ||
char * | buf | ||
) |
Definition at line 63 of file error.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_free(), ICEDB_malloc(), ICEDB_error_context::message_size, ICEDB_error_context::message_text, ICEDB_error_context::num_var_fields, ICEDB_error_context_var_val::val, ICEDB_error_context::var_vals, and ICEDB_error_context_var_val::varname.
size_t error_context_to_message_size | ( | const struct ICEDB_error_context * | err | ) |
Definition at line 23 of file error.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_free(), ICEDB_malloc(), ICEDB_error_context::message_size, ICEDB_error_context::message_text, ICEDB_error_context::num_var_fields, ICEDB_error_context_var_val::val, ICEDB_error_context::var_vals, and ICEDB_error_context_var_val::varname.
size_t error_context_to_stream | ( | const struct ICEDB_error_context * | err, |
FILE * | fp | ||
) |
Definition at line 103 of file error.cpp.
References ICEDB_COMPAT_fprintf_s, ICEDB_COMPAT_fputs_s, ICEDB_DEBUG_RAISE_EXCEPTION, ICEDB_error_context::message_text, ICEDB_error_context::num_var_fields, ICEDB_error_context_var_val::val, ICEDB_error_context::var_vals, and ICEDB_error_context_var_val::varname.
ICEDB_error_code error_test | ( | ) |
Definition at line 126 of file error.cpp.
References ICEDB_error_context_append_str, ICEDB_error_context_create, and ICEDB_ERRORCODES_TODO.
struct ICEDB_error_context* get_error_context_thread_local_c | ( | ) |
Definition at line 164 of file error.cpp.
References __ICEDB_LOCAL_THREAD_error_context.
Referenced by icedb::error::get_error_context_thread_local().