ModelNotFoundException Class

An exception related to missing model when attempting to download a previously registered model. This exception is commonly raised when trying to download a model from a different workspace, with the wrong name, or an invalid version.

Initialize a new instance of ModelNotFoundException.

Inheritance
azureml._common.exceptions.AzureMLException
ModelNotFoundException

Constructor

ModelNotFoundException(exception_message, logger=None, **kwargs)

Parameters

Name Description
exception_message
Required
str

A message describing the error.

logger
<xref:logging.logger>

An optional logger to which to send the exception message.

Default value: None
exception_message
Required
str

A message describing the error.

logger
Required
<xref:logger>

An optional logger to which to send the exception message.