Defensive programming Flashcards

1
Q

Throw a custom error in JS

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Throw an error when function arguments are invalid in JS

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Catch and rescue from an error in JS

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Render an HTTP response with status code 400 when the request params are invalid, in Node and Express.

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly