ModelValidationError#

exception ModelValidationError[source]#

Represents unappropriate model instance.

Should be used in a situation when a routine (like check instance, utility function, etc) expected and received a dataset instance that did not meet routine requirements.

__init__(message: str, html: Optional[str] = None)[source]#
__new__(*args, **kwargs)#