diff --git a/llmfoundry/utils/exceptions.py b/llmfoundry/utils/exceptions.py index 1b9feb9a10..7f7442ab8f 100644 --- a/llmfoundry/utils/exceptions.py +++ b/llmfoundry/utils/exceptions.py @@ -310,7 +310,7 @@ def __init__(self, input: dict) -> None: ## Convert Delta to JSON exceptions -class ClusterDoesNotExistError(NetworkError): +class ClusterDoesNotExistError(UserError): """Error thrown when the cluster does not exist.""" def __init__(self, cluster_id: str) -> None: @@ -318,7 +318,7 @@ def __init__(self, cluster_id: str) -> None: super().__init__(message, cluster_id=cluster_id) -class ClusterInvalidAccessMode(NetworkError): +class ClusterInvalidAccessMode(UserError): """Error thrown when the cluster does not exist.""" def __init__(self, cluster_id: str, access_mode: str) -> None: