ArgError

Moduleejs
Definitiondynamic class ArgError
InheritanceArgError inherit Error inherit Object
Specifiedejscript-1.1
StabilityEvolving.

Arguments error exception class.

Thrown the arguments cannot be cast to the required type or in strict mode if there are too few or too many arguments.


Properties

QualifiersPropertyTypeDescription
No properties defined

ArgError Methods

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

Method Detail

public ArgError(message: String = null)

ArgError constructor.

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