ontehfritz / api.mtgdb.info

Project closing first of August 2015
http://www.mtgdb.info/
MIT License
36 stars 8 forks source link

Complex Search: Throws exception when data type is not in correct format #82

Open ontehfritz opened 10 years ago

ontehfritz commented 10 years ago

Throw a meaningful error when the data type does not match the field type in complex querying.

as per @alotau

http://api.mtgdb.info/search/?q=color%20eq%20blue%20and%20type%20m%20%27Creature%27%20and%20description%20m%20%27flying%27%20and%20convertedmanacost%20lt%20howdy%20and%20name%20m%20%27Cloud%27&limit=2&start=0 5:14:04 AM providing a string when an integer is expected.