import requests.exceptions class ZeverSolarError(Exception): """ Base of all exceptions thrown by this package """ class ZeverSolarInvalidData(ZeverSolarError): """ Exception thrown when invalid inverter data is returned """ class ZeverSolarTimeout(ZeverSolarError, requests.exceptions.Timeout): """ Exception thrown when a timeout occurs """ class ZeverSolarHTTPError(ZeverSolarError, requests.exceptions.HTTPError): """ Exception thrown when an HTTP error occurs """ class ZeverSolarHTTPNotFound(ZeverSolarHTTPError): """ Exception thrown when an HTTP Not Found (404) error occurs """