ReferenceError

Moduleejs
Definitiondynamic class ReferenceError
InheritanceReferenceError inherit Error inherit Object
StabilityEvolving.

Reference error exception class.

Thrown when an invalid reference to an object is made, e.g. a method is invoked on an object whose type does not define that method.


Properties

QualifiersPropertyTypeDescription
No properties defined

ReferenceError Methods

QualifiersMethod
ReferenceError(message: String = null)
 ReferenceError constructor.

Method Detail

public ReferenceError(message: String = null)

ReferenceError constructor.

Parameters
message: String Message to use when defining the Error.message property. [default: null]