"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from dataclasses import dataclass


@dataclass(unsafe_hash=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
