Part of twisted.internet.defer.Deferred View Source
Run all error callbacks that have been added to this Deferred
.
Each callback will have its result passed as the first argument to the
next; this way, the callbacks act as a 'processing chain'. Also, if the
error-callback returns a non-Failure or doesn't raise an
Exception
, processing will continue on the *success*-callback
chain.
If the argument that's passed to me is not a failure.Failure
instance, it will be embedded in one. If no argument is passed, a failure.Failure
instance will be created based on the current traceback stack.
Raises | NoCurrentExceptionError | If fail is None but there is no current
exception state.
|