18 #ifndef ERRORREPORTER_H
19 #define ERRORREPORTER_H
21 #include <ndb_global.h>
22 #include <ndbd_exit_codes.h>
24 #include "../ndbd.hpp"
29 static void handleAssert(
const char*
message,
31 int line,
int ec = NDBD_EXIT_PRGERR)
34 static void handleError(
int faultID,
35 const char* problemData,
37 enum NdbShutdownType = NST_ErrorHandler)
40 static void formatMessage(
int thr_no,
41 Uint32 num_threads,
int faultID,
42 const char* problemData,
44 const char* theNameOfTheTraceFile,
49 static const char* formatTimeStampString();
52 static enum NdbShutdownType s_errorHandlerShutdownType;