class PyarrError(Exception): """Generic PyArr Exception.""" class PyarrConnectionError(PyarrError): """Sonarr connection exception.""" class PyarrUnauthorizedError(PyarrError): """Unauthorised access exception""" class PyarrAccessRestricted(PyarrError): """Pyarr access restricted exception.""" class PyarrResourceNotFound(PyarrError): """Pyarr resource not found exception""" class PyarrBadGateway(PyarrError): """Pyarr bad gateway exception""" class PyarrMissingProfile(PyarrError): """Pyarr missing profile"""