Weather::OpenWeatherMap::Error - Internal and API error objects
# Usually received from Weather::OpenWeatherMap
These objects contain information on internal or backend (API) errors; they are generally thrown by Weather::OpenWeatherMap or emitted by POEx::Weather::OpenWeatherMap in response to a failed request.
These objects overload stringification (see "as_string").
These objects consume StackTrace::Auto.
The original Weather::OpenWeatherMap::Request object that caused the error to occur.
The source of the error, one of:
The error/status message string.
Returns a stringified representation of the error in the form:
(uc $err->source) $err->status
Jon Portnoy <email@example.com>