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

Function ERRD_error

src/dsql/errd.cpp:123–130  ·  view source on GitHub ↗

ERRD_error @brief This routine should only be used by fatal error messages, those that cannot use the normal error routines because something is very badly wrong. ERRD_post() should be used by most error messages, especially so that strings will be handled. @param code @param text **/

Source from the content-addressed store, hash-verified

121
122 **/
123void ERRD_error(const char* text)
124{
125 TEXT s[MAXPATHLEN + 140];
126 fb_utils::snprintf(s, sizeof(s), "** DSQL error: %s **\n", text);
127 TRACE(s);
128
129 status_exception::raise(Arg::Gds(isc_random) << Arg::Str(s));
130}
131
132
133/**

Callers 1

ERRD_bugcheckFunction · 0.85

Calls 4

raiseFunction · 0.85
GdsClass · 0.85
StrClass · 0.85
snprintfFunction · 0.50

Tested by

no test coverage detected