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

Function throwIfError

fdbclient/MultiVersionTransaction.actor.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#endif
45
46void throwIfError(FdbCApi::fdb_error_t e) {
47 if (e) {
48 throw Error(e);
49 }
50}
51
52// DLTransaction
53void DLTransaction::cancel() {

Callers 13

addReadConflictRangeMethod · 0.70
addWriteConflictRangeMethod · 0.70
getCommittedVersionMethod · 0.70
setOptionMethod · 0.70
openTenantMethod · 0.70
createTransactionMethod · 0.70
selectApiVersionMethod · 0.70
setNetworkOptionMethod · 0.70
setupNetworkMethod · 0.70
runNetworkMethod · 0.70
stopNetworkMethod · 0.70
createDatabaseMethod · 0.70

Calls 1

ErrorClass · 0.50

Tested by

no test coverage detected