Welcome to the Treehouse Community
Looking to learn something new?
I finished the laravel course. And i remember when we used findOrFail. When the function can't find an element it throws ModelNotFoundException.
My question is how do i handle this exception so i can present more friendly error message.
Thank you shez
I don't know how i missed that part of the documentation