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

Function BURP_error

src/burp/burp.cpp:1556–1585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554}
1555
1556void BURP_error(USHORT errcode, bool abort, const SafeArg& arg)
1557{
1558/**************************************
1559 *
1560 * B U R P _ e r r o r
1561 *
1562 **************************************
1563 *
1564 * Functional description
1565 *
1566 **************************************/
1567 BurpMaster master;
1568 BurpGlobals* tdgbl = master.get();
1569
1570 // StatusAccessor is used only as RAII holder here
1571 UtilSvc::StatusAccessor sa = tdgbl->uSvc->getStatusAccessor();
1572
1573 sa.setServiceStatus(burp_msg_fac, errcode, arg);
1574
1575 if (!tdgbl->uSvc->isService())
1576 {
1577 BURP_msg_partial(true, 256); // msg 256: gbak: ERROR:
1578 BURP_msg_put(true, errcode, arg);
1579 }
1580
1581 if (abort)
1582 BURP_abort();
1583 else
1584 tdgbl->uSvc->started();
1585}
1586
1587
1588void BURP_error(USHORT errcode, bool abort, const char* str)

Callers 15

svc_api_gbakFunction · 0.85
findSwitchOrThrowFunction · 0.85
gbakFunction · 0.85
BURP_error_redirectFunction · 0.85
open_filesFunction · 0.85
setupSkipDataMethod · 0.85
setupIncludeDataMethod · 0.85
processFetchPassFunction · 0.85
start_cryptFunction · 0.85
unzip_read_blockFunction · 0.85
zip_write_blockFunction · 0.85
MVOL_init_readFunction · 0.85

Calls 9

BURP_msg_partialFunction · 0.85
BURP_msg_putFunction · 0.85
BURP_abortFunction · 0.85
SafeArgClass · 0.50
getMethod · 0.45
getStatusAccessorMethod · 0.45
setServiceStatusMethod · 0.45
isServiceMethod · 0.45
startedMethod · 0.45

Tested by

no test coverage detected