kevinpang / edhrec-site

edhrec web frontend
http://edhrec.com
MIT License
7 stars 4 forks source link

Handle error_codes returned by server #46

Open kevinpang opened 10 years ago

kevinpang commented 10 years ago

Example: http://staging.edhrec.com/cmdr?commander=haakon

Returns: {"message": "There are not enough decks in my database to generate recommendations for haakon, stromgald scourge", "error_code": "NOT_ENOUGH_DATA"}