Spaces:
Paused
Paused
Download src/backend/exceptions.py from kindahex/ultimate-rvc: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/spaces/kindahex/ultimate-rvc/resolve/main/src/backend/exceptions.py
- Command line
-
hf download hf://spaces/kindahex/ultimate-rvc/src/backend/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/kindahex/ultimate-rvc/resolve/main/src/backend/exceptions.py
581 Bytes
| """ | |
| This module contains custom exceptions that are raised by the backend. | |
| """ | |
| class InputMissingError(ValueError): | |
| """ | |
| Raised when an input is missing. | |
| """ | |
| pass | |
| class InvalidPathError(OSError): | |
| """ | |
| Raised when a path is invalid. | |
| """ | |
| pass | |
| class PathNotFoundError(OSError): | |
| """ | |
| Raised when a path is not found. | |
| """ | |
| pass | |
| class PathExistsError(OSError): | |
| """ | |
| Raised when a path already exists. | |
| """ | |
| pass | |
| class FileTypeError(ValueError): | |
| """ | |
| Raised when a file is of the wrong type. | |
| """ | |
| pass | |