set()
Sets the `RangeError` object under the given `id`
Last updated
Was this helpful?
Sets the `RangeError` object under the given `id`
Last updated
Was this helpful?
RangeErrors.prototype.set()
Sets the object with the message built from the given required , , and optional , on the given or stored under the given .
ErrorId
extends
A generic type variable ErrorId
constrained by the generic type variable of the object indicates the type picked from the and its exact type is useful in picking the specific error from the storage.
template =
RangeErrors
.template
this
Description of the problem of a type.
A solution to the given of a type.
The unique identification to the given of generic type variable .
The optional minimum range of type that causes an error to be thrown(or not thrown).
The optional maximum range of type that causes an error to be thrown(or not thrown).
A template of error message with the replaceable , ,, and optional , tags. By default, the value is equal to the static property RangeErrors.template
.