ClientException 类

与客户端错误相关的异常。

构造新的 ClientException。

继承
ClientException
azureml._common.exceptions.AzureMLException
ClientException

构造函数

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

参数

名称 说明
exception_message
必需
str

描述错误的消息。

inner_exception
必需
str

可选消息,例如来自以前处理的异常的消息。

target
str

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

默认值: None
details
必需
str

有关该错误的其他信息,例如其他错误响应或堆栈跟踪。

exception_message
必需

有关异常的详细信息。

target
必需

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