Skip to content

hopsworks.client.exceptions #

DataValidationException #

Bases: FeatureStoreException

Raised when data validation fails only when using "STRICT" validation ingestion policy.

DatasetException #

Bases: Exception

Generic dataset exception.

FeatureStoreException #

Bases: Exception

Generic feature store exception.

HopsworksSSLClientError #

Bases: SSLError

Raised when the client connection fails with SSL related errors.

SSLError inherits from requests.exceptions.ConnectionError.

HuggingFaceImportException #

Bases: ModelRegistryException

Raised when an asynchronous HuggingFace model import does not complete successfully.

Carries the stable error code emitted by the backend so callers can branch on it. The backend codes are:

  • auth_required — the supplied HuggingFace access token was rejected (invalid, expired, or missing the gated-repo grant). Retry with a different token.
  • not_found_or_auth_required — no token was supplied and HuggingFace returned 401 for the repo. Either the model id is wrong or the repo is private/gated; HuggingFace deliberately hides which.
  • model_not_found — HuggingFace returned 404 for the repo.
  • no_disk_space — HopsFS storage quota was exhausted while downloading.
  • download_failed: <file> — a specific file failed to download (network etc.).
  • invalid_filename: <name> — a file in the repo had a name disallowed by the path-safety check (.. segments, absolute paths, …).
  • registration_failed: ... — files downloaded but the final registration step failed.
  • fetch_failed — generic upstream / metadata error talking to HuggingFace.

RestAPIError #

Bases: Exception

REST Exception encapsulating the response object and url.