How to handle Node.js errors like a Pro?

preview_player
Показать описание

======⚡⚡⚡======
Licenses are valid only until the 31st of August 2013, first come first serve! ❤️

======⚡⚡⚡======

📚 Resources:

And don't forget to subscribe for more videos like this 😊
Рекомендации по теме
Комментарии
Автор

Not long ago I had to revamp the error handling system of over 20 projects with over 5 different approachs mixed within them.
Working on an enterprise level for a multibillion dollar company that has this kind of anti-pattern and literally no code review can be a nightmare, but it is extremely educational.

Took me not much more than a couple of weeks of work time, but I am glad to see that the final result is pretty much what you taught on this video.

Most junior and mid-level developers dont pay a lot of attention to error handling. This video is absolute gold in terms of best practices.

LarutanAK
Автор

Omg I am a self educated begginer developer, and 3 days ago, I did the same thing. I just felt the need to throw custom error. Im glad I fid the right thing

Vriskhoj
Автор

This are some next level through experience gained codes which you are passing to new great power comes great responsibility
Hats off to you I just got placed in a company after a system design interview for Fullstack Developer role just by following this playlist.
Couldn't thank you more sir.

prasannabiswas
Автор

Damn, a good explanation no one is touching this depth of concepts like memory, handling error, and all stuff you are doing a great job!!

ManishBachani-iw
Автор

You are delivering crucial things

Thank you

vmmoorthi
Автор

Please do a video about performance tests in node! Testing locally + setting up tests for CI/CD

paperC_CSGO
Автор

This is gold, thanks for sharing, expecting more like this! 🙂

renjithpn
Автор

Why do you need the isOperational flag? In isTrustedError if the error is istanceof AppError than is a trusted error. Is there a specific case where we need this isOperational with false / true?

mroobert
Автор

I am unable to understand the importance of Object.setPrototypeOf(this, new.target.prototype). Can you please explain the significance of this line.

ayushpatel
Автор

Do we have to create our own error dictionary or is there some sort of npm package for it?

ayushpatel
Автор

OMG it is so helpful, I am feeling like a Pro now😅

acousticmunda
Автор

Great video. Subscribed!, I have been also following same approach. Would like to request you to consider making videos for topic like best practice, code quality, optimization, debugging, performant code etc.

rajanacharya
Автор

you think it's okey to hardcode in the client side the httpCode ? or was this just an example and that httpCode property should only be used for network request errors?

bafian
Автор

It's pronounced walla"bee".

scottamolinari