#include #include #include #include #include "backend/String.h" #include "Exception.h" using namespace std; const char * Exception::what() { return this->error.c_str(); } Exception::Exception(const char * fmt, ...) { va_list args; va_start(args, fmt); this->error = String::va_fmt(args, fmt); va_end(args); }