mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-21 04:11:06 -05:00
Cleanup Djrill exceptions
* Add common base DjrillException * Simplify backend by moving logic to describe errors into base DjrillException * Add NotSerializableForMandrillError for JSON serialization errors
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from ._version import __version__, VERSION
|
||||
from .exceptions import MandrillAPIError, MandrillRecipientsRefused, NotSupportedByMandrillError
|
||||
from .exceptions import (MandrillAPIError, MandrillRecipientsRefused,
|
||||
NotSerializableForMandrillError, NotSupportedByMandrillError)
|
||||
|
||||
Reference in New Issue
Block a user