Errors

Custom exceptions for the Amazon Creators API.

exception amazon_creatorsapi.errors.AmazonCreatorsApiError

Bases: Exception

Base exception for Amazon Creators API.

exception amazon_creatorsapi.errors.AssociateValidationError

Bases: AmazonCreatorsApiError

Raised when associate credentials are invalid.

exception amazon_creatorsapi.errors.AuthenticationError

Bases: AmazonCreatorsApiError

Raised when OAuth2 authentication fails.

exception amazon_creatorsapi.errors.InvalidArgumentError

Bases: AmazonCreatorsApiError

Raised when an invalid argument is provided.

exception amazon_creatorsapi.errors.ItemsNotFoundError

Bases: AmazonCreatorsApiError

Raised when no items are found.

exception amazon_creatorsapi.errors.RequestError

Bases: AmazonCreatorsApiError

Raised when the API request fails.

exception amazon_creatorsapi.errors.TooManyRequestsError

Bases: AmazonCreatorsApiError

Raised when the rate limit is exceeded.