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 **/
| 121 | |
| 122 | **/ |
| 123 | void 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 | /** |
no test coverage detected