pi_weather.exceptions module

Definition of custom exceptions

exception pi_weather.exceptions.PiWeatherException[source]

Bases: Exception

Base exception for all PiWeather exceptions

exception pi_weather.exceptions.SettingsNotImportedException[source]

Bases: PiWeatherException

Exception raised when settings could not be imported from disk.

exception pi_weather.exceptions.ConfigPathAlreadySetException[source]

Bases: PiWeatherException

Exception raised when trying to change the config path after it has already been locked in (either via a prior set_path() call or because the singleton has already been instantiated).