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

exception_message
str
Required

A message describing the error.

logger
<xref:logging.logger>
default value: None

An optional logger to which to send the exception message.

exception_message
str
Required

A message describing the error.

logger
<xref:logger>
Required

An optional logger to which to send the exception message.