19 #ifndef NDBT_Error_HPP
20 #define NDBT_Error_HPP
23 #include <NdbError.hpp>
66 int handleErrorCommon(
const NdbError & error);
70 bool temporary_resource_error;
71 bool insufficient_space_error;
72 bool node_recovery_error;
77 bool application_error;
79 Uint32 * errorCountArray;
86 #define ERR_OUT(where, error) \
87 { where << "ERROR: " << error.code << " " \
88 << error.message << endl \
89 << " " << "Status: " << error.status \
90 << ", Classification: " << error.classification << endl\
91 << " " << "File: " << __FILE__ \
92 << " (Line: " << __LINE__ << ")" << endl \
98 const NdbError &_error= (error); \
99 ERR_OUT(g_err, _error); \
101 #define ERR_INFO(error) ERR_OUT(g_info, error)