Error

E544638

Error is the fundamental built-in exception type in JavaScript used to represent runtime errors and serve as the base class for more specialized error types.

All labels observed (5)

Label Occurrences
AggregateError 1
Error canonical 1
Error (EP) 1

How this entity was disambiguated

Statements (56)

Predicate Object
instanceOf JavaScript built-in object
exception type
category standard built-in object
caughtBy try...catch statement
constructorArity 0
1
constructorParameter message
options
defaultPropertyValue message: ""
name: "Error"
definedIn ECMAScript specification
linked to: ECMAScript
environment Node.js
browser JavaScript
hasConstructor Error()
hasMethod constructor
toLocaleString()
toString()
hasProperty cause
message
name
prototype
stack
toString
introducedIn ECMAScript 1
linked to: ECMAScript
isCallable true
isConstructable true
isExtensible true
isPrototypeOf AggregateError.prototype
EvalError.prototype
InternalError.prototype
RangeError.prototype
ReferenceError.prototype
SyntaxError.prototype
TypeError.prototype
URIError.prototype
programmingLanguage JavaScript
propertyType cause: unknown
message: string
name: string
stack: string or undefined
prototypeChainBaseFor AggregateError
linked to: Error

EvalError
InternalError
RangeError
ReferenceError
linked to: Error

SyntaxError
TypeError
URIError
role base class for more specialized error types
fundamental built-in exception type in JavaScript
serializationBehavior JSON.stringify(new Error("x")) returns {} by default
specSection ECMAScript Language Specification, Error Objects
linked to: ECMAScript
thrownBy throw statement
usedFor representing runtime errors
signaling error conditions
throwing exceptions

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Error (band) hasRelease Error (EP)
linked to: Error
WebAssembly.compile canRejectWith TypeError
linked to: Error
Error prototypeChainBaseFor ReferenceError
linked to: Error
Error prototypeChainBaseFor AggregateError
linked to: Error