Exceptions¶
Exception classes for litestar-vite error handling.
All exceptions inherit from the base LitestarViteError class for easy catching of library-specific errors.
Available Exceptions¶
- LitestarViteError
Base exception for all litestar-vite errors.
- MissingDependencyError
Raised when a required package is not installed (e.g., fsspec for deployment).
- ViteExecutableNotFoundError
Raised when the Vite executable cannot be found.
- ViteExecutionError
Raised when Vite command execution fails.
- ViteProcessError
Raised when the Vite dev server process fails to start or stop.
- ManifestNotFoundError
Raised when the Vite manifest file is not found at the expected location.
- AssetNotFoundError
Raised when a requested asset is not found in the manifest.
Litestar-Vite exception classes.
- exception litestar_vite.exceptions.AssetNotFoundError[source]¶
Bases:
LitestarViteErrorRaised when an asset is not found in the manifest.
- exception litestar_vite.exceptions.LitestarViteError[source]¶
Bases:
ExceptionBase exception for Litestar-Vite related errors.
- exception litestar_vite.exceptions.ManifestNotFoundError[source]¶
Bases:
LitestarViteErrorRaised when the manifest file is not found.
- exception litestar_vite.exceptions.MissingDependencyError[source]¶
Bases:
LitestarViteError,ImportErrorRaised when a package is not installed but required.
- exception litestar_vite.exceptions.ViteExecutableNotFoundError[source]¶
Bases:
LitestarViteErrorRaised when the vite executable is not found.
- exception litestar_vite.exceptions.ViteExecutionError[source]¶
Bases:
LitestarViteErrorRaised when the vite execution fails.