stewart/weather-api — pull request #4 by ContrarySheep (2013-12-28 16:59:35+00:00)
Title: Add specific error for invalid WOEID

I noticed that if an invalid WOEID is entered, then a generic "no method error" is produced, even though the response from Yahoo contains an error message. This looks for that error, and returns a RuntimeError with a failure message.

I'm sure you could get even more specific with this, but I think the "no method error" is a bit too cryptic