VibecoderMcSwaggins's picture
feat: Phase 1A + Phase 2 - Local data loader and DeepISLES Docker wrapper (#3)
aef1f5a unverified
raw
history blame contribute delete
655 Bytes
"""Custom exceptions for stroke-deepisles-demo."""
from __future__ import annotations
class StrokeDemoError(Exception):
"""Base exception for stroke-deepisles-demo."""
class DataLoadError(StrokeDemoError):
"""Failed to load data from HuggingFace Hub."""
class DockerNotAvailableError(StrokeDemoError):
"""Docker is not installed or not running."""
class DeepISLESError(StrokeDemoError):
"""DeepISLES inference failed."""
class MissingInputError(StrokeDemoError):
"""Required input files are missing."""
class DockerGPUNotAvailableError(StrokeDemoError):
"""GPU requested but NVIDIA Container Runtime not available."""