classMarshmallowSQLAlchemyError(Exception):"""Base exception class from which all exceptions related to marshmallow-sqlalchemy inherit. """
[docs]classModelConversionError(MarshmallowSQLAlchemyError):"""Raised when an error occurs in converting a SQLAlchemy construct to a marshmallow object. """
classIncorrectSchemaTypeError(ModelConversionError):"""Raised when a ``SQLAlchemyAutoField`` is bound to ``Schema`` that is not an instance of ``SQLAlchemySchema``. """