Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dyn/mm/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__author__ = 'jnappi'


class EmailError(BaseException):
class EmailError(Exception):
"""Base Dynect Error class"""
def __init__(self, reason):
"""Create the error message based on the response in the raw JSON
Expand Down
2 changes: 1 addition & 1 deletion dyn/tm/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = 'jnappi'


class DynectError(BaseException):
class DynectError(Exception):
"""Base Dynect Error class"""
def __init__(self, json_response_messages, api_type=None):
"""Create the error message based on the response in the raw JSON
Expand Down