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
Very Nice and Awesome Tutorial.
Nice video ! it would be useful to have the same example when using GraphQL and GqlExceptionFilter
Again exceptional Video
Great video 👍
Thanks
i love you
just curious, how did you learn all these things? btw you are explaining in a great way
nice explaination
@ComputerBabaOfficial
Жыл бұрын
Thank you Shaikh.
please create separate video for HttpAdapterHost
@ComputerBabaOfficial
Жыл бұрын
Hi Ajeet I will try to create a dedicated video on this topic.
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
Жыл бұрын
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.
Same agar Stand-alone app ke lie karna hai toh wo kese handle karenge?
@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