/**
Generates a useful stacktrace that points to the user's code where the error happened on platforms without the `Error.captureStackTrace()` method.
@hidden
*/exportconstgenerateStackTrace = () => {
const stack = newRangeError('INTERNAL_OW_ERROR').stack;
return stack;
};