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 class-attribute instance-attribute

code: str | None = code

fault instance-attribute

fault = fault

is_retryable instance-attribute

is_retryable = is_retryable

is_throttling_error instance-attribute

is_throttling_error = is_throttling_error

message instance-attribute

message = message

response instance-attribute

response = response