| 599 | |
| 600 | |
| 601 | class MissingStreamClassError(TypeError): |
| 602 | def __init__(self) -> None: |
| 603 | super().__init__( |
| 604 | "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `anthropic._streaming` for reference", |
| 605 | ) |
| 606 | |
| 607 | |
| 608 | class StreamAlreadyConsumed(AnthropicError): |