twisted.internet.defer.FirstError(Exception) class documentationtwisted.internet.defer
          View Source
          (View In Hierarchy)
        
      First error to occur in a DeferredList
if fireOnOneErrback is set.
| Instance Variable | subFailure | The Failurethat occurred. (type:Failure) | 
| Instance Variable | index | The index of the Deferredin 
theDeferredListwhere it happened. (type:int) | 
| Method | __init__ | Undocumented | 
| Method | __repr__ | The repr of FirstErrorinstances includes the repr of the wrapped failure's exception and the 
index of theFirstError. | 
| Method | __str__ | The str of FirstErrorinstances includes the str of the entire wrapped failure (including 
its traceback and exception) and the index of theFirstError. | 
| Method | __cmp__ | No summary | 
The repr of FirstError 
instances includes the repr of the wrapped failure's exception and the 
index of the FirstError.
The str of FirstError 
instances includes the str of the entire wrapped failure (including 
its traceback and exception) and the index of the FirstError.
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.
| Present Since | 8.2 | |