amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

cleaner-exception-handling-using-rescue-helper-in-laravel/ #15

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Cleaner exception handling using rescue() helper in Laravel – Amit Merchant – A blog on PHP, JavaScript and more

If you want to make your web application robust, you get to handle those quirky and unpredictable exceptions. And the way you do that in PHP is by using try-catch blocks in your code. The same applies in the case of Laravel as well.

https://www.amitmerchant.com/cleaner-exception-handling-using-rescue-helper-in-laravel/

mitchy-crypto commented 3 years ago

I had to sign up to say thank you for your amazing work. I've learnt a lot over the past few days on this blog. I promise that one day when my skills start paying much, I'll buy you coffee everyday...😊

amitmerchant1990 commented 3 years ago

Hey! Thanks a lot for your kind words @mitchy-crypto. I'm glad my content helped you one way or another. πŸ˜‡

mcsantos7 commented 2 years ago

How does this line " $comment->content = $request['comment'];" works without putting "$request" inside a "use" in the closure function?

amitmerchant1990 commented 2 years ago

Thanks, @felicz ! I fixed it now πŸ‘

OrientFinance commented 2 years ago

Trustworthy partner in financial trading https://orientfinance.com/ We offer our clients with the best-in-class services which becomes the ultimate one stop solution for all their Global investment needs.

johnnmichaell commented 2 years ago

https://scorpionproperty.ae/ Scorpion Property is a real estate company, which is located at the heart of Dubai β€œJBR Walk”. We deal in buying, selling, renting and managing properties all over Dubai.