class PushClientError(Exception): """Base class for exceptions of push client.""" pass class NoSessionError(PushClientError): """Exception for case when session is used but hasn't been configured.""" pass