* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
650 B
650 B
Error Objects
JavaScript provides a set of built-in error types that extend the base Error class. These include TypeError, RangeError, SyntaxError, ReferenceError, and others. Each has a message property and a stack trace. Using specific error types makes it easier to catch and handle different failure modes separately.
Visit the following resources to learn more: