DataException 类

与数据验证相关的异常。

继承
DataException
DataException

构造函数

DataException(exception_message='', target=None, **kwargs)

参数

exception_message
str
必需

描述错误的消息。

target
默认值: None