Errors
JavaScript errors
TypeError, ReferenceError, SyntaxError and RangeError in any runtime.
131 entries0 written pages
Showing 101 to 131 of 131Source: MDN Web Docs
| Code | Error | Category | Page |
|---|---|---|---|
| TypeError | Iterator/AsyncIterator constructor can't be used directly | TypeError | Reference |
| TypeError | More arguments needed | TypeError | Reference |
| TypeError | Reduce of empty array with no initial value | TypeError | Reference |
| TypeError | WeakSet key/WeakMap value 'x' must be an object or an unregistered symbol | TypeError | Reference |
| TypeError | X.prototype.y called on incompatible type | TypeError | Reference |
| TypeError | already executing generator | TypeError | Reference |
| TypeError | calling a builtin X constructor without new is forbidden | TypeError | Reference |
| TypeError | can''t assign to property "x" on "y": not an object | TypeError | Reference |
| TypeError | can''t define property "x": "obj" is not extensible | TypeError | Reference |
| TypeError | can''t redefine non-configurable property "x" | TypeError | Reference |
| TypeError | can't access/set private field or method: object is not the right class | TypeError | Reference |
| TypeError | can't convert BigInt to number | TypeError | Reference |
| TypeError | can't convert x to BigInt | TypeError | Reference |
| TypeError | can't delete non-configurable array element | TypeError | Reference |
| TypeError | can't set prototype of this object | TypeError | Reference |
| TypeError | can't set prototype: it would cause a prototype chain cycle | TypeError | Reference |
| TypeError | cannot use 'in' operator to search for 'x' in 'y' | TypeError | Reference |
| TypeError | class constructors must be invoked with 'new' | TypeError | Reference |
| TypeError | cyclic object value | TypeError | Reference |
| TypeError | derived class constructor returned invalid value x | TypeError | Reference |
| TypeError | getting private setter-only property | TypeError | Reference |
| TypeError | invalid 'instanceof' operand 'x' | TypeError | Reference |
| TypeError | invalid Array.prototype.sort argument | TypeError | Reference |
| TypeError | invalid assignment to const "x" | TypeError | Reference |
| TypeError | matchAll/replaceAll must be called with a global RegExp | TypeError | Reference |
| TypeError | null/undefined has no properties | TypeError | Reference |
| TypeError | property "x" is non-configurable and can''t be deleted | TypeError in strict mode only | Reference |
| TypeError | setting getter-only property "x" | TypeError in strict mode only | Reference |
| URIError | malformed URI sequence | URIError | Reference |
| Warning | -file- is being assigned a //# sourceMappingURL, but already has one | A warning. JavaScript execution won't be halted | Reference |
| Warning | unreachable code after return statement | Warning | Reference |
Other families: Node.js, npm, React, Next.js, TypeScript, Vite, webpack, Jest