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

Function composeError

src/jrd/replication/Config.cpp:106–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void composeError(CheckStatusWrapper* status, const Exception& ex)
107 {
108 Arg::StatusVector sv;
109
110 if (!(status->getState() & IStatus::STATE_ERRORS))
111 {
112 string prefix;
113 prefix.printf("Incorrect entry in %s", REPLICATION_CFGFILE);
114 sv << Arg::Gds(isc_random) << Arg::Str(prefix);
115 }
116
117 sv << Arg::StatusVector(status);
118 sv << Arg::StatusVector(ex);
119
120 status->setErrors(sv.value());
121 }
122
123 bool parseExternalValue(CheckStatusWrapper* status, const string& key, const string& value, string& output)
124 {

Callers 2

getMethod · 0.85
enumerateMethod · 0.85

Calls 7

GdsClass · 0.85
StrClass · 0.85
StatusVectorClass · 0.50
getStateMethod · 0.45
printfMethod · 0.45
setErrorsMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected