RangeError : Error

Thrown when a number is out of its appropriate range.

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
5.0+1.0+6.0+nono

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of RangeError.
5.0+1.0+6.0+nono
 

Properties

PropertyIEMozillaNetscapeOperaSafari
An error message associated with the RangeError.
5.0+1.0+6.0+nono
 
Specifies the type of exception.
5.0+1.0+6.0+nono
 

References

Error | Error.message | Error.name

Availability

JavaScript 1.5 | JScript 5.5 | ECMAScript v3

Constructor Detail

RangeError RangeError([String message])

Creates a new instance of RangeError.

StringmessageAn error message associated with the RangeError. (optional)

Property Detail

String message

An error message associated with the RangeError.

String name

Specifies the type of exception.