JavaScript Error
Error types for exception handling. This category documents 13 JavaScript error entries, and each page gives you the full syntax, the parameter list, the return value, a runnable example, time complexity, the TypeScript signature, and the mistakes developers most often make with that API. The entries are: Error(), Error.prototype.message, Error.prototype.name, Error.prototype.stack, TypeError(), RangeError(), ReferenceError(), SyntaxError(), EvalError(), URIError(), AggregateError(), Error.cause, Error.isError(). For a structured walkthrough of the whole topic, read the Errors guide. Not sure which method you need? Error() and Error.prototype.message are the most commonly used starting points in this category. You can also search across every category from the search page or browse the complete A–Z index.