Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
ErrorHandler.cpp File Reference
#include "moab/ErrorHandler.hpp"
#include "ErrorOutput.hpp"
#include <cstdlib>
#include <cassert>
#include <unistd.h>
+ Include dependency graph for ErrorHandler.cpp:

Go to the source code of this file.

Namespaces

 moab
 Class representing axis-aligned bounding box.
 

Functions

void moab::MBErrorHandler_Init ()
 Initialize MOAB error handler (e.g. create a utility object for printing error output) More...
 
void moab::MBErrorHandler_Finalize ()
 Finalize MOAB error handler (e.g. delete the utility object for printing error output) More...
 
bool moab::MBErrorHandler_Initialized ()
 Indicates whether MBErrorHandler_Init has been called. More...
 
void moab::MBErrorHandler_GetLastError (std::string &error)
 Get information about the last error. More...
 
void moab::MBTraceBackErrorHandler (int line, const char *func, const char *file, const char *dir, const char *err_msg, ErrorType err_type)
 
ErrorCode moab::MBError (int line, const char *func, const char *file, const char *dir, ErrorCode err_code, const char *err_msg, ErrorType err_type)
 Routine that is called to create a new error or handle an existing one. More...
 

Variables

static ErrorOutput * moab::errorOutput = NULL
 
static std::string moab::lastError = "No error"