NestJS · Junior · Question 36 of 75

Which built-in exceptions map to 400, 401 and 403?

Explanation

There are many more, such as ConflictException (409) and UnprocessableEntityException (422). All extend HttpException.

Further reading

Problem with a question

NestJS · Junior · question 36

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz