ParallelRunException 类

ParallelRunStep 中使用的异常。 用户可以通过使用代码引发此异常来自定义重试逻辑,以表明意图。

继承
azureml._common.exceptions.AzureMLException
ParallelRunException

构造函数

ParallelRunException(exception_message: str, code: Optional[str] = None, delay_seconds: float = 0, **kwargs)

参数

exception_message
str
必需

描述错误的消息。

code
str
默认值: None

指定预期的重试逻辑。 可以是“Retry.NoRetry”、“Retry.StopProcess”或“Retry.RestartProcess”之一。

delay_seconds
float
默认值: 0

在处理下一个小批量之前休眠的秒数。