MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / cleanError

Function cleanError

src/common/classes/init.cpp:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53{
54#ifdef DEV_BUILD
55 void cleanError(const Firebird::Exception* e)
56 {
57 if (e)
58 {
59 // This is done to be able to look at status in debugger
60 Firebird::StaticStatusVector status;
61 e->stuffException(status);
62 }
63
64 // we do not have big choice in error reporting when running global destructors
65 abort();
66 }
67#else
68 void cleanError(const Firebird::Exception*) { }
69#endif

Callers 2

allCleanFunction · 0.85
destructorsMethod · 0.85

Calls 1

stuffExceptionMethod · 0.45

Tested by

no test coverage detected