icedb
version 0.5.1
Snow particle scattering database API
|
#include <error.hpp>
Public Member Functions | |
xError (error_types=error_types::xOtherError) | |
virtual | ~xError () |
virtual const char * | what () const noexcept |
xError & | push (::icedb::registry::options_ptr) |
Insert a context of Errors. More... | |
xError & | push () |
template<class T > | |
xError & | add (const std::string &key, const T value) |
template<> | |
DL_ICEDB xError & | add (const std::string &key, char const *const value) |
Protected Attributes | |
std::shared_ptr< error_options_inner > | ep |
xError is the base class for icedb C++ exceptions. C code should use the C interface.
icedb::error::xError::xError | ( | error::error_types | xe = error_types::xOtherError | ) |
xError & icedb::error::xError::add | ( | const std::string & | key, |
const T | value | ||
) |
Definition at line 271 of file error.cpp.
Referenced by icedb::Examples::Shapes::readDataset().
DL_ICEDB xError& icedb::error::xError::add | ( | const std::string & | key, |
char const *const | value | ||
) |
xError & icedb::error::xError::push | ( | ::icedb::registry::options_ptr | op | ) |
xError & icedb::error::xError::push | ( | ) |
Definition at line 263 of file error.cpp.
References icedb::registry::options::generate().
|
virtualnoexcept |
Definition at line 242 of file error.cpp.
References icedb::error::stringify().
|
protected |