Put the status_code in the exception also
Add search method