devo_ml.modelmanager.error#
A set of exceptions raised by ML Model Manager.
- exception ModelManagerError(code=None, msg=None)[source]#
Any error of ML Model Manager.
- __init__(code=None, msg=None)[source]#
Creates a
ModelManagerError.
- exception TokenError[source]#
Any error with an access token.
- __init__()[source]#
Creates a
TokenError.
- exception ModelNotFound(model)[source]#
Indicates that a model does not exist in the system.
- __init__(model)[source]#
Creates a
ModelNotFound.- Parameters:
model (
str) – The missing model name
- exception ModelAlreadyExists(model)[source]#
Indicates that a model already exists in the system.
- __init__(model)[source]#
Creates a
ModelAlreadyExists.- Parameters:
model (
str) – The duplicate model name