1 | /**
|
2 | Generates a useful stacktrace that points to the user's code where the error happened on platforms without the `Error.captureStackTrace()` method.
|
3 |
|
4 | @hidden
|
5 | */
|
6 | export const generateStackTrace = () => {
|
7 | const stack = new RangeError('INTERNAL_OW_ERROR').stack;
|
8 | return stack;
|
9 | };
|