[ Part 05 Building Restful Api ] Error and Exception Handling using lume...


Hello Friends,

Welcome to Part 05 of Building Restful Api by perfect web solutions.

in this video tutorial, we are going to discuss about Error and Exception Handling using Lumen 5.5 in Urdu and Hindi, furthermore this same technique can be used for laravel 5 as well.



Introduction

When you start a new Lumen project, error and exception handling is already configured for you. In addition, Lumen is integrated with the Monolog logging library, which provides support for a variety of powerful log handlers.



Configuration

Error Detail



The Exception Handler



All exceptions are handled by the App\Exceptions\Handler class. This class contains two methods:  report and render. We'll examine each of these methods in detail.



The Report Method

The Render Method

If you like the video, then please do like it, then subscribe to our channel for more videos and don't forget to press the Bell Icons.



اگر آپ کو ہماری ویڈیوز پسند آ رہی ہیں، تو برائے مہربانی لائک بٹن کو پریس کرنا مت بھولئےگا۔ اور اس کے بعد چینل کو سبسکرائب بھی ضرور کی جئے گا۔ اور بیل کے بٹن کو دبانا مت بھولئےگا۔
بہت بہت شکریہ


यदि आप वीडियो पसंद करते हैं, तो कृपया इसे पसंद करें, फिर हमारे चैनल की अधिक वीडियो के लिए सदस्यता लें और बेल आइन्स को दबाकर न भूलें।


Visit our Fan page on Facebook: https://www.facebook.com/perfect.web.solutions.jhelum

Visit our Fan Page on Twitter: @pwsjlmpk

our WhatsApp group: https://chat.whatsapp.com/6tSVUlX2ltCIsWe6b3UtlU

Visit our Official Website: http://www.bestsoftpro.com
Theme images by fpm. Powered by Blogger.