Records a RangeError with its stack and memory state, then lets the caller rethrow (the event log carries the message but no stack).
Optional
Records a RangeError with its stack and memory state, then lets the caller rethrow (the event log carries the message but no stack).