Module aws_lambda_powertools.utilities.validation.exceptions

Expand source code
class SchemaValidationError(Exception):
    """When serialization fail schema validation"""


class InvalidSchemaFormatError(Exception):
    """When JSON Schema is in invalid format"""


class InvalidEnvelopeExpressionError(Exception):
    """When JMESPath fails to parse expression"""

Classes

class InvalidEnvelopeExpressionError (*args, **kwargs)

When JMESPath fails to parse expression

Expand source code
class InvalidEnvelopeExpressionError(Exception):
    """When JMESPath fails to parse expression"""

Ancestors

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

When JSON Schema is in invalid format

Expand source code
class InvalidSchemaFormatError(Exception):
    """When JSON Schema is in invalid format"""

Ancestors

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

When serialization fail schema validation

Expand source code
class SchemaValidationError(Exception):
    """When serialization fail schema validation"""

Ancestors

  • builtins.Exception
  • builtins.BaseException