MCPcopy Create free account
hub / github.com/EasyIME/PIME / errback

Function errback

python/python3/tornado/platform/twisted.py:141–147  ·  view source on GitHub ↗
(failure: failure.Failure)

Source from the content-addressed store, hash-verified

139 f = Future() # type: Future[Any]
140
141 def errback(failure: failure.Failure) -> None:
142 try:
143 failure.raiseException()
144 # Should never happen, but just in case
145 raise Exception("errback called without error")
146 except:
147 future_set_exc_info(f, sys.exc_info())
148
149 d.addCallbacks(f.set_result, errback)
150 return f

Callers

nothing calls this directly

Calls 1

future_set_exc_infoFunction · 0.90

Tested by

no test coverage detected