WebserviceException Class

An exception related to failures while interacting with model management service. This exception is commonly raised for failed REST requests to model management service.

Initialize a new instance of WebserviceException.

Inheritance
azureml._common.exceptions.AzureMLException
WebserviceException

Constructor

WebserviceException(exception_message, status_code=None, logger=None, **kwargs)

Parameters

Name Description
exception_message
Required
str

A message describing the error.

status_code
str

An optional HTTP status code that describes the web service request.

Default value: None
exception_message
Required
str

A message describing the error.

status_code
Required
str

An optional HTTP status code that describes the web service request.

logger
Default value: None