Exceptions Module¶
Custom exceptions module.
- exception amazon_paapi.errors.exceptions.AmazonError(reason)¶
Bases:
ExceptionCommon base class for all Amazon API exceptions.
- exception amazon_paapi.errors.exceptions.AsinNotFound(reason)¶
Bases:
AmazonErrorRaised if the ASIN for an item is not found.
- exception amazon_paapi.errors.exceptions.AssociateValidationError(reason)¶
Bases:
AmazonErrorRaised when credentials are not valid for the selected country.
- exception amazon_paapi.errors.exceptions.InvalidArgument(reason)¶
Bases:
AmazonErrorRaised when arguments are not correct.
- exception amazon_paapi.errors.exceptions.InvalidPartnerTag(reason)¶
Bases:
AmazonErrorRaised if the partner tag is not present or invalid.
- exception amazon_paapi.errors.exceptions.ItemsNotFound(reason)¶
Bases:
AmazonErrorRaised if no items are found.
- exception amazon_paapi.errors.exceptions.MalformedRequest(reason)¶
Bases:
AmazonErrorRaised if the request for Amazon API is not correctly formed.
- exception amazon_paapi.errors.exceptions.RequestError(reason)¶
Bases:
AmazonErrorRaised if the request to Amazon API fails.
- exception amazon_paapi.errors.exceptions.TooManyRequests(reason)¶
Bases:
AmazonErrorRaised when requests limit is reached.