Improves error handling, match, adds api method

* improves error handling
* adds new method to get category members
* adds match error logic