Exemple #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);
    }
}
Exemple #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);
    }
}
Exemple #3
0
std::string FfmpegCategory::message(int ev) const
{
    return error2string(ev);
}
Exemple #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);
}