I want to make a custom error handling concept in Laravel 5.8. where if any error comes then it should be reported in the database. For this, I do not want to write any try and catch block in all controllers. it should be handled from the route when a route call else it can be from middleware.
I am using Laravel 5.8. I try it to manage form middleware but could not do that. so please tell me.
Can we do this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire