Create a new RangeError with a message for the given value.
An optional name can specify the argument name that has the invalid value, and the message can override the default error description.