Defensive programming Flashcards
1
Q
Throw a custom error in JS
A
.
2
Q
Throw an error when function arguments are invalid in JS
A
.
3
Q
Catch and rescue from an error in JS
A
.
4
Q
Render an HTTP response with status code 400 when the request params are invalid, in Node and Express.
A
.