ultimate-rvc / src /backend /exceptions.py
Blane187's picture
Upload folder using huggingface_hub
c8be32d verified
raw
history blame
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