Return a Deferred that has already had .errback(result) called.

See succeed's docstring for rationale.

ParametersresultThe same argument that Deferred.errback takes.
Returns (type: Deferred)
RaisesNoCurrentExceptionErrorIf result is None but there is no current exception state.
API Documentation for Twisted, generated by pydoctor at 2016-08-19 14:28:43.