AssertError

Moduleejs
Definitiondynamic class AssertError
InheritanceAssertError inherit Error inherit Object
Specifiedejscript-1.1
StabilityEvolving.

Assertion error exception class.

Thrown when the assert method is invoked with a false value.


Properties

QualifiersPropertyTypeDescription
No properties defined

AssertError Methods

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

Method Detail

public AssertError(message: String = null)

AssertError constructor.

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