ArgumentException 类

与用户配置无效相关的异常。

开发说明:此内容已弃用,将在不久后删除。 请使用其他某个异常。

继承
ArgumentException

构造函数

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

参数

exception_message
必需

有关异常的详细信息。

target
默认值: None

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