Module aws_lambda_powertools.utilities.parser.exceptions

Classes

class InvalidEnvelopeError (*args, **kwargs)

Input envelope is not callable and instance of BaseEnvelope

Expand source code
class InvalidEnvelopeError(Exception):
    """Input envelope is not callable and instance of BaseEnvelope"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidModelTypeError (*args, **kwargs)

Input data model does not implement BaseModel

Expand source code
class InvalidModelTypeError(Exception):
    """Input data model does not implement BaseModel"""

Ancestors

  • builtins.Exception
  • builtins.BaseException