NestJS #29 - Custom Exception Filters | Catch-All Exception Filter | Handle any Exception | (Hindi)

There are some scenarios where we need to handle any kind of exception whether it is recognized or unrecognized. In this video, we will create a catch-all Exception Filter to catch and handle any type of exception. We will also learn how to register the Exception Filter globally.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): bit.ly/3ztj6qh
► NestJS - ArgumentsHost & ExecutionContext : • NestJS #26 - Arguments...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
01:00 - Catch All Exception Filter - Generic Filter
06:54 - Using Catch All Exception Filter
07:49 - Registering Exception Filter Globally
13:09 - Closing notes
▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬
🎬 Angular In-Depth (Hindi) - bit.ly/34nHrBh
🎬 Angular Architecture - • 1. Angular Architectur...
🎬 NestJS Framework | Backend Development (Hindi) - bit.ly/3titPk3
🎬 RxJS - The Practical Guide (Hindi) - bit.ly/3GBcXsf
🎬 RxJS - Promise vs Observable | A depth comparison - • 5. RXJS - Promise vs O...
🎬 RxJS - Introduction to Reactive programming - • 1. RXJS - Introduction...
▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬
🐦 Twitter: / akacomputerbaba
🏠 Discord: bit.ly/3Js25iy
👓 GitHub: github.com/cistroncoder
📧 Email: officialcomputerbaba@gmail.com
💙 Join this channel
/ computerbabaofficial
▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬
🎵 Fresh Start - Joakim Karud
freesound.org
▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬
#AmazingNestjs #nestjs #computer_baba #http_status_codes #http_headers #nestjs_http_exceptions #exceptions #middleware_nestjs #interceptors_nestjs #gurads_nestjs #ValidationPipe #class_validator_typescript #validatorjs_express #pipes #nestjs_pipes #data_transformation #microservices #dependency_injection #ioc_container #routing #nestjs_project #nodejs #rest_api #http #expressjs #fastify #graphql #mongodb #sql #typeorm #microservices #backend_development #javascript #typescript #rxjs #json

Пікірлер: 15

  • @ranaahsanansar6841
    @ranaahsanansar684110 ай бұрын

    Very Nice and Awesome Tutorial.

  • @nicolasstubi3204
    @nicolasstubi3204 Жыл бұрын

    Nice video ! it would be useful to have the same example when using GraphQL and GqlExceptionFilter

  • @shekhar9115
    @shekhar9115 Жыл бұрын

    Again exceptional Video

  • @venkatv3208
    @venkatv3208 Жыл бұрын

    Great video 👍

  • @AsishSharma-gi8tb
    @AsishSharma-gi8tb Жыл бұрын

    Thanks

  • @monyourbae
    @monyourbae Жыл бұрын

    i love you

  • @milon27
    @milon27 Жыл бұрын

    just curious, how did you learn all these things? btw you are explaining in a great way

  • @shaikhabid3958
    @shaikhabid3958 Жыл бұрын

    nice explaination

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Thank you Shaikh.

  • @AjeetKumar-vm8im
    @AjeetKumar-vm8im Жыл бұрын

    please create separate video for HttpAdapterHost

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Hi Ajeet I will try to create a dedicated video on this topic.

  • @debatreesarkar7126
    @debatreesarkar7126 Жыл бұрын

    How can I handle InvalidOperationsException in NestJS? Is there any in built exception class for that Or do I need to write a custom exception class?

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    There is no such exception in NestJS if I am correct. But you can create your own exception for and also a custom exception filter to handle your exception.

  • @PTM1008
    @PTM1008 Жыл бұрын

    Same agar Stand-alone app ke lie karna hai toh wo kese handle karenge?

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Same tarah se he implement karege or global register kar dege. Catch decorator m optionally exception class pass kar sakte hai agar specific exception handle karni hai. I hope ki yahi aap puch rahe ho