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: api, internal, http
api
internal
http
The error/status message string.
Returns a stringified representation of the error in the form: (uc $err->source) $err->status
(uc $err->source) $err->status
Weather::OpenWeatherMap
StackTrace::Auto
Devel::StackTrace
Jon Portnoy <avenj@cobaltirc.org>
To install Weather::OpenWeatherMap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weather::OpenWeatherMap
CPAN shell
perl -MCPAN -e shell install Weather::OpenWeatherMap
For more information on module installation, please visit the detailed CPAN module installation guide.