Source code for pymws.exceptions
"""
All errors and exceptions
"""
[docs]class MWSException(Exception):
"""
Parent class of all exceptions this package handles
"""
pass
[docs]class MWSError(MWSException):
"""
Parent class of all Amazon returned Errors.
"""
pass
[docs]class AccessDenied(MWSError):
"Access was denied"
[docs]class SignatureDoesNotMatch(MWSError):
"""The signature used does not match the server's
calculated signature value."""
pass
[docs]class QuotaExceeded(MWSError):
"""The total number of requests in an hour was exceeded."""
pass
[docs]class RequestThrottled(MWSError):
"""The frequency of requests was greater than allowed.."""
pass