1 #ifndef ErrorReporter_h
2 #define ErrorReporter_h
8 void reportError (NxErrorCode code,
const char *message,
const char* file,
int line)
10 std::cerr<<file<<
": "<<message<<std::endl;
13 NxAssertResponse reportAssertViolation (
const char *message,
const char *file,
int line)
15 std::cerr<<file<<
": "<<message<<std::endl;
16 return NX_AR_CONTINUE;
19 void print (
const char *message)
21 std::cerr<<message<<std::endl;