(self, error: Exception)
| 223 | """A response body that fails with `error` after its first chunk.""" |
| 224 | |
| 225 | def __init__(self, error: Exception) -> None: |
| 226 | super().__init__() |
| 227 | self.error = error |
| 228 | |
| 229 | @override |
| 230 | def __iter__(self) -> Iterator[bytes]: |