Beispiel #1
0
void IO::parse(Value& target, const std::string& spec) {
    uint32_t line = 0, column = 0;
    IO::parser_context context(target);
    if (context.parse(spec, line, column) != 0) {
        throw parse_error(error2string(context.err_code()), line, column);
    }
}
Beispiel #2
0
void IO::parse(Value &target, std::istream& stream) {
    uint32_t line = 0, column = 0;
    IO::parser_context context(target);
    if (context.parse(stream, line, column) != 0) {
        throw parse_error(error2string(context.err_code()), line, column);
    }
}
Beispiel #3
0
std::string FfmpegCategory::message(int ev) const
{
    return error2string(ev);
}
Beispiel #4
0
void xrDebug::error		(long hr, const char* expr, const char *e2, const char *file, int line, const char *function, bool &ignore_always)
{
	backend		(error2string(hr),expr,e2,0,file,line,function,ignore_always);
}