#include "config.h"
#include <cerrno>
#include <cstring>
#include <cstdio>
#include "asserts.h"
#include "types.h"
#include "error.h"
Go to the source code of this file.
Defines | |
#define | internal_TRY_nomem(code) |
Functions | |
std::ostream & | operator<< (std::ostream &a_out, const error &a_e) |
const char * | get_error_str (const int a_err) |
#define internal_TRY_nomem | ( | code | ) |
try { \ code; \ } \ catch(...) { \ if (errno == 12) \ std::cerr << err_nomem; \ else \ std::cerr << err_unknown; \ }
Definition at line 16 of file error.cc.
Referenced by error_instance::clear(), error::push_back(), and error_instance::set().
const char* get_error_str | ( | const int | a_err | ) |
Definition at line 389 of file error.cc.
Referenced by global_parser::parse_vault(), and error::push_back().
std::ostream& operator<< | ( | std::ostream & | a_out, | |
const error & | a_e | |||
) |
Definition at line 384 of file error.cc.
References error::write().