Skip to content

UnknownServiceError

UnknownServiceError(*, code: str | None, message: str | None, response: Response)

Bases: ServiceError

Raised when the server returns an error code the client does not model.

Parameters:

  • code (str | None) –

    <Code> text from the response body, or None if absent.

  • message (str | None) –

    <Message> text from the response body, or None.

  • response (Response) –

    The original HTTP response object, for arbitrary inspection.

code: str | None = code
fault = fault
is_retryable = is_retryable
is_throttling_error = is_throttling_error
message = message
response = response