Files
openrouter-python-sdk-retry…/src/openrouter/errors/no_response_error.py
T
2025-09-17 09:19:51 -05:00

18 lines
462 B
Python

"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from dataclasses import dataclass
@dataclass(frozen=True)
class NoResponseError(Exception):
"""Error raised when no HTTP response is received from the server."""
message: str
def __init__(self, message: str = "No response received"):
object.__setattr__(self, "message", message)
super().__init__(message)
def __str__(self):
return self.message