10 #ifndef _STRUS_STORAGE_ERROR_LIB_HPP_INCLUDED
11 #define _STRUS_STORAGE_ERROR_LIB_HPP_INCLUDED
19 class ErrorBufferInterface;
21 class DebugTraceInterface;
30 bool dumpDebugTrace( DebugTraceInterface* debugTrace,
const char* filename);
36 ErrorBufferInterface*
createErrorBuffer_standard( FILE* logfilehandle, std::size_t maxNofThreads_, DebugTraceInterface* debugTrace);
int errorCodeFromMessage(char const *&msgitr)
Get the next error code in an error message printed by the standard error buffer implementation provi...
DebugTraceInterface * createDebugTrace_standard(std::size_t maxNofThreads_)
Create an debug trace interface.
bool dumpDebugTrace(DebugTraceInterface *debugTrace, const char *filename)
Dump the trace content in a convenient form to a file specified.
void removeErrorCodesFromMessage(char *msg)
Remove all error codes in an error message printed by the standard error buffer implementation provid...
const char * errorCodeToString(int errcode)
Get the error message as string.
Structured error codes for strus components.
ErrorBufferInterface * createErrorBuffer_standard(FILE *logfilehandle, std::size_t maxNofThreads_, DebugTraceInterface *debugTrace)
Create an error buffer interface.