Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
177
Error Error::asInjectedFault() const {
178
Error e = *this;
179
e.flags |= FLAG_INJECTED_FAULT;
180
return e;
181
}
182
183
ErrorCodeTable::ErrorCodeTable() {
184
#define ERROR(name, number, description) \
Callers
15
action
Method · 0.80
checkError
Method · 0.80
init
Function · 0.80
readPhysicalPage
Function · 0.80
checkIOTimeout
Function · 0.80
when
Function · 0.80
template <class T> Future<T> sendErrorOnShutdown
Function · 0.80
open
Method · 0.80
read
Function · 0.80
write
Function · 0.80
truncate
Function · 0.80
sync
Function · 0.80
Calls
no outgoing calls
Tested by
1
action
Method · 0.64