TopLevel
Class TypeError
Represents a type error.
Constructor Summary
TypeError()
Constructs the error.
Method Summary
Methods inherited from class
Error
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Constructor Detail
TypeError
public TypeError(msg
:
String)
Constructs the error with the
specified message.
Parameters:
msg
-
the type error message.