Non-existing country code should give clearer error #56
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When I use a wrong country code in the get function I get a cryptic 404 HTTP error and I think it would be helpful to give a more descriptive error, so that users know what they made wrong.
Instead of this error I would have hoped for an error stating.
ArgumentError: Country code "GER" not found, please provide standard ISO 3 country codes.
The text was updated successfully, but these errors were encountered: