5. MM Errors¶
Below are the various errors you may see be raised while using the dyn.mm module along with brief descriptions about when those exceptions are raised.
5.1. dyn.mm.errors module¶
This module contains all Dyn Email Errors. Each Error subclass inherits from the base EmailError class which is only ever directly raised if something completely unexpected happens
-
exception
dyn.mm.errors.
EmailKeyError
(reason)[source]¶ Error raised if the associated API Key is missing or invalid
-
exception
dyn.mm.errors.
DynInvalidArgumentError
(arg, value, valid_args=None)[source]¶ Error raised if a given argument is determined to be invalid
-
exception
dyn.mm.errors.
EmailInvalidArgumentError
(reason)[source]¶ Error raised if a required field is not provided. However, due to the nature or the wrapper being used this error is most likely caused but uncaught invalid input (i.e., letters instead of numbers, etc.).