Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 81 / 11570%
Error Handling3/5

JS throw

Manually raise an error — `throw new Error(msg)` is the canonical form.

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?