#94 Handling Not Found Errors | Error Handling in Express | A Complete NODE JS Course

preview_player
Показать описание
In this lecture you will learn how we can handle "Not Found" errors from our express application. This is continuation of previous lectures from this section.

Рекомендации по теме
Комментарии
Автор

I'm so pained that I'm just seeing your vids. Custom error brought me here but so far you are one of my fav tutors sir.

bolooemmanuel
Автор

I love this tutorial. However, i was thinking we can throw an error if we can find the movie so that the wrapper function can handle it for us. Thanks for this tutorial

josephuzuegbu
Автор

6:40 we can also throw a new CustomError as an error link this => throw new CustomError({ message: "Movie with that ID is not found!", statusCode: 404 });

this will handle by asyncErrorHandler function

parth_patel
Автор

Why did you applied the asynErrorHandler in updateMovie

shubhamgoswami
Автор

I dont know either this guy copied the content of jonas schmedman or jonas did copy... It is exactly the same that i learned in the paid course

newsForEveryoneFast