ssactivewear_sdk.exceptions

Exceptions.

Exceptions

SSActivewearError

Base exception for SSActivewear SDK errors.

SSActivewearAPIError

S&S answered with an error status.

SSActivewearBadRequestError

S&S rejected the request (HTTP 400). response.errors lists each problem.

SSActivewearNotFoundError

Nothing matched the request, or the items were discontinued (HTTP 404).

Module Contents

exception ssactivewear_sdk.exceptions.SSActivewearError[source]

Bases: Exception

Base exception for SSActivewear SDK errors.

exception ssactivewear_sdk.exceptions.SSActivewearAPIError(message: str, *, status_code: int, response: ssactivewear_sdk.models.ErrorResponse | None)[source]

Bases: SSActivewearError

S&S answered with an error status.

status_code[source]

The HTTP status code.

response[source]

The parsed error body, or None when the body was not a recognizable error.

exception ssactivewear_sdk.exceptions.SSActivewearBadRequestError(message: str, *, status_code: int, response: ssactivewear_sdk.models.ErrorResponse | None)[source]

Bases: SSActivewearAPIError

S&S rejected the request (HTTP 400). response.errors lists each problem.

exception ssactivewear_sdk.exceptions.SSActivewearNotFoundError(message: str, *, status_code: int, response: ssactivewear_sdk.models.ErrorResponse | None)[source]

Bases: SSActivewearAPIError

Nothing matched the request, or the items were discontinued (HTTP 404).