MCPcopy Create free account
hub / github.com/apple/foundationdb / asInjectedFault

Method asInjectedFault

flow/Error.cpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177Error Error::asInjectedFault() const {
178 Error e = *this;
179 e.flags |= FLAG_INJECTED_FAULT;
180 return e;
181}
182
183ErrorCodeTable::ErrorCodeTable() {
184#define ERROR(name, number, description) \

Callers 15

actionMethod · 0.80
checkErrorMethod · 0.80
initFunction · 0.80
readPhysicalPageFunction · 0.80
checkIOTimeoutFunction · 0.80
whenFunction · 0.80
openMethod · 0.80
readFunction · 0.80
writeFunction · 0.80
truncateFunction · 0.80
syncFunction · 0.80

Calls

no outgoing calls

Tested by 1

actionMethod · 0.64