grooveondemand/groove/exceptions.py

36 lines
661 B
Python
Raw Normal View History

2022-12-02 21:43:51 -08:00
class APIHandlingException(Exception):
"""
An API reqeust could not be encoded or decoded.
"""
class ThemeMissingException(Exception):
"""
The specified theme could not be loaded.
"""
class ThemeConfigurationError(Exception):
"""
A theme is missing required files or configuration.
"""
class ConfigurationError(Exception):
"""
An error was discovered with the Groove on Demand configuration.
"""
2022-12-06 22:17:53 -08:00
2022-12-07 18:19:38 -08:00
class PlaylistValidationError(Exception):
2022-12-06 22:17:53 -08:00
"""
2022-12-07 18:19:38 -08:00
An error was discovered in the playlist definition.
2022-12-06 22:17:53 -08:00
"""
2022-12-07 23:10:41 -08:00
class TrackNotFoundError(Exception):
"""
The specified track doesn't exist.
"""