The exceptions
moduleο
- exception magento.exceptions.MagentoError(client, msg=None, response=None)[source]View on GitHubο
Bases:
Exception
Base exception class for error responses returned by the Magento API
- Variables
DEFAULT_MSG β default exception message to use if a message isnβt provided
- DEFAULT_MSG = 'An error occurred while processing the request.'ο
- __init__(client, msg=None, response=None)[source]View on GitHubο
Log and raise a MagentoError
- exception magento.exceptions.AuthenticationError(client, msg=None, response=None)[source]View on GitHubο
Bases:
MagentoError
Exception class for errors when trying to
authenticate()
aClient
- DEFAULT_MSG = 'Failed to authenticate credentials.'ο
- __init__(client, msg=None, response=None)[source]View on GitHubο
Log and raise a MagentoError