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

Method isError

flow/include/flow/ThreadHelper.actor.h:578–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 bool isValid() const { return sav != 0; }
577 bool isReady() { return sav->isReady(); }
578 bool isError() { return sav->isError(); }
579 Error& getError() {
580 if (!isError())
581 throw future_not_error();

Callers 3

isErrorMethod · 0.45
ThreadResultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected