RangeError
JavaScript: Range Error
This type implements the API surface of a RangeError
exception raised within the context of an executing JavaScript guest. RangeError
instances are typically raised when a value is passed to a function or operation that is not within a given required range.
Further reading
For more information about the expected behavior and API surface of a RangeError, see the following resources:
See also
for the host base interface type of all JavaScript exceptions.
for the top-most guest-exposed base class for all JavaScript errors.
Types
Link copied to clipboard
Public factory for RangeError types. Java-style exceptions can be wrapped using the create method, or a string message and cause can be provided, a-la Java exceptions.