feat(API): Raise HTTPError as a nice way to return error responses

Works with HTTPError or any child classes