Go to the source code of this file.
Classes | |
struct | ledger::error_count |
Namespaces | |
namespace | ledger |
Macros | |
#define | add_error_context(msg) |
#define | DECLARE_EXCEPTION(name, kind) |
#define | throw_(cls, msg) |
#define | warning_(msg) |
Functions | |
string | ledger::error_context () |
string | ledger::file_context (const path &file, std::size_t line) |
string | ledger::line_context (const string &line, const string::size_type pos=0, const string::size_type end_pos=0) |
string | ledger::source_context (const path &file, const std::istream::pos_type pos, const std::istream::pos_type end_pos, const string &prefix="") |
template<typename T > | |
void | ledger::throw_func (const string &message) |
void | ledger::warning_func (const string &message) |
Variables | |
std::ostringstream | ledger::_ctxt_buffer |
std::ostringstream | ledger::_desc_buffer |
Definition in file error.h.
#define add_error_context | ( | msg | ) |
Definition at line 71 of file error.h.
Referenced by ledger::pass_down_posts< Iterator >::pass_down_posts().
#define DECLARE_EXCEPTION | ( | name, | |
kind ) |
#define throw_ | ( | cls, | |
msg ) |
Definition at line 55 of file error.h.
Referenced by ledger::balance_t::balance_t(), ledger::find_scope(), ledger::find_scope(), ledger::option_t< T >::handler(), ledger::open_for_reading(), ledger::balance_t::operator=(), ledger::balance_t::operator==(), ledger::option_t< T >::str(), and ledger::balance_t::to_amount().