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.

Try in SPARQL Jump to: Statements Referenced by

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 NERFINISHED
environment Node.js NERFINISHED
browser JavaScript
hasConstructor Error()
hasMethod constructor
toLocaleString()
toString()
hasProperty cause
message
name
prototype
stack
toString
introducedIn ECMAScript 1 NERFINISHED
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 NERFINISHED
EvalError
InternalError
RangeError
ReferenceError NERFINISHED
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 NERFINISHED
thrownBy throw statement
usedFor representing runtime errors
signaling error conditions
throwing exceptions

Referenced by (1)

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