static void check(const char* function, int code)
		{
			if (code < 0)
			{
				Sys_Error("check: %s failed with code %d (%s).\n", function, code, code_to_string(code));
			}
		}
Esempio n. 2
0
 string_t error_t::to_string() const {
     return code_to_string() + ": " + message();
 }