OutOfRangeException 类

与值范围外相关的异常。

开发说明:这是已弃用的,不久将被删除。 请使用其他异常之一。

构造函数

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

参数

名称 说明
exception_message
必需
str

描述错误的消息。

target
默认值: None