irahorecka / pycraigslist

Craigslist API wrapper
MIT License
41 stars 14 forks source link

Add InvalidFilterValue exception for more graceful error handling #9

Closed ChristopherJHart closed 3 years ago

ChristopherJHart commented 3 years ago

Fix #8 by adding a new custom exception, InvalidFilterValue, which will allow for more graceful error handling in scenarios where a Craigslist search filter does not have a valid value.

Also added a few basic unit tests for some underlying filter argument/value parsing functions.