strusBase  0.17
Namespaces | Functions
error.hpp File Reference

Exported functions of the strus error library implementing the standard error buffer interface. More...

#include "strus/errorCodes.hpp"
#include <cstdio>

Go to the source code of this file.

Namespaces

 strus
 Wrapper to structures needed for atomic counters.
 

Functions

DebugTraceInterface * strus::createDebugTrace_standard (std::size_t maxNofThreads_)
 Create an debug trace interface. More...
 
bool strus::dumpDebugTrace (DebugTraceInterface *debugTrace, const char *filename)
 Dump the trace content in a convenient form to a file specified. More...
 
ErrorBufferInterface * strus::createErrorBuffer_standard (FILE *logfilehandle, std::size_t maxNofThreads_, DebugTraceInterface *debugTrace)
 Create an error buffer interface. More...
 
int strus::errorCodeFromMessage (char const *&msgitr)
 Get the next error code in an error message printed by the standard error buffer implementation provided here. More...
 
void strus::removeErrorCodesFromMessage (char *msg)
 Remove all error codes in an error message printed by the standard error buffer implementation provided here. More...
 
const char * strus::errorCodeToString (int errcode)
 Get the error message as string. More...
 

Detailed Description

Exported functions of the strus error library implementing the standard error buffer interface.