exception documentation
class FirstError(Exception): (source)
First error to occur in a DeferredList if fireOnOneErrback is set.
| Method | __cmp__ |
Comparison between FirstError and other FirstError instances is defined as the comparison of the index and sub-failure of each instance. FirstError instances don't compare equal to anything that isn't a ... |
| Method | __init__ |
Undocumented |
| Method | __repr__ |
The repr of FirstError instances includes the repr of the wrapped failure's exception and the index of the FirstError. |
| Method | __str__ |
The str of FirstError instances includes the str of the entire wrapped failure (including its traceback and exception) and the index of the FirstError. |
| Instance Variable | index |
The index of the Deferred in the DeferredList where it happened. |
| Instance Variable | sub |
The Failure that occurred. |
Comparison between FirstError and other FirstError instances is defined as the comparison of the index and sub-failure of each instance. FirstError instances don't compare equal to anything that isn't a FirstError instance.
| Parameters | |
other:object | Undocumented |
| Returns | |
int | Undocumented |
| Present Since | |
| 8.2 | |
The repr of FirstError instances includes the repr of the wrapped failure's exception and the index of the FirstError.
| Returns | |
str | Undocumented |
The str of FirstError instances includes the str of the entire wrapped failure (including its traceback and exception) and the index of the FirstError.
| Returns | |
str | Undocumented |