Files
WrenchBoradWeb/wrenchboard/src/core/exceptions.cc
T
2019-05-31 11:26:35 -04:00

17 lines
374 B
C++

#include "exceptions.h"
#include "clog.h"
bad_parameter::bad_parameter( CVars &out, const char *name )
{
//in["bad_param"] = name;
out["bad_param"] = name;
logfmt( FLOG_MAX, "Bad parameter exception: '%s'", name );
}
err::err( char *msg ) {
logfmt( FLOG_MAX, "ERROR: %s", msg );
}