InvalidRunState 类

尝试对给定操作使用不处于有效状态的运行时发生的异常。

继承

构造函数

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

参数

exception_message
str
必需

描述错误的消息。

target
默认值: None