UserException 类

与用户错误相关的异常。

继承
UserException

构造函数

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

参数

exception_message
必需

有关异常的详细信息。

target
默认值: None

导致引发异常的元素的名称。