Open nielstholenaar opened 9 years ago
I'll be adding that in the near future. Currently 401 and 404 status codes are already caught. 401's are returned with a Kevindierkx/Elicit/Connection/InvalidCrendentialsException
and 404's result in a empty model, these can throw a Kevindierkx/Elicit/Elicit/ModelNotFoundException
when used with a $model->findOrFail()
Some API's may provided errors within the response body. Currently the only place to handle those errors is within the Processor.
I think you should consider adding an better place to handle errors. Something like an dedicated error handling processor.