11 - Validation and Advanced Exceptions in NestJS

preview_player
Показать описание
Today we'll work on wiring up or validation classes as well as defining custom exceptions for websockets, and converting unknown or HttpExceptions into Websockets exceptions.

0:00 - Intro
1:00 - Data Transfer Objects
3:00 - NestJS Pipes
7:00 - Examples of Existing Exception Handling
9:00 - Throwing WsException and Error in a Gateway
14:00 - Creating Custom WsExceptions
18:10 - Exception Filters
30:00 - Wrap up
Рекомендации по теме
Комментарии
Автор

I was having a hard time with the exceptions not being logged after calling the `test` socket. The exception only logs if you listen to the `exception` event.

zanzebra
Автор

Really helpful video of how to code with Nestjs in real world. Thanks a lot

sunghyunlee
Автор

Good decision! I use it in my project. Thank you!

YaroslavBadikov