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

Function ALICE_error

src/alice/alice.cpp:695–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693//
694
695void ALICE_error(USHORT number, const SafeArg& arg)
696{
697 AliceGlobals* tdgbl = AliceGlobals::getSpecific();
698 TEXT buffer[256];
699
700 tdgbl->uSvc->getStatusAccessor().setServiceStatus(ALICE_MSG_FAC, number, arg);
701 if (!tdgbl->uSvc->isService())
702 {
703 fb_msg_format(0, ALICE_MSG_FAC, number, sizeof(buffer), buffer, arg);
704 alice_output(true, "%s\n", buffer);
705 }
706
707 ALICE_exit(FINI_ERROR, tdgbl);
708}
709
710
711//____________________________________________________________

Callers 1

aliceFunction · 0.85

Calls 6

fb_msg_formatFunction · 0.85
alice_outputFunction · 0.85
ALICE_exitFunction · 0.85
setServiceStatusMethod · 0.45
getStatusAccessorMethod · 0.45
isServiceMethod · 0.45

Tested by

no test coverage detected