InvalidRunState 类

尝试使用未处于给定作有效状态的运行时出现异常。

构造函数

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

参数

名称 说明
exception_message
必需
str

描述错误的消息。

target
默认值: None