Source code for novelsave_sources.exceptions

[docs]class SourcesException(Exception): """Base exception of this package from which all other exceptions are derived from."""
[docs]class BadResponseException(SourcesException): """thrown when an unexpected response is received"""
[docs]class UnknownSourceException(SourcesException): """thrown when the url does not correspond to an existing source"""
[docs]class UnavailableException(SourcesException): """thrown when a function is unavailable"""
[docs]class ChapterException(SourcesException): """thrown when something unexpected happens during chapter update"""