Skip to content

Commit c4c4c58

Browse files
Update readme to talk about Error.stackTraceLimit
1 parent 52f6501 commit c4c4c58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ impl MyBigThing {
6464
}
6565
}
6666
```
67+
68+
### Error.stackTraceLimit
69+
70+
Many browsers only capture the top 10 frames of a stack trace. In rust programs this is less likely to be enough. To see more frames, you can set the non-standard value Error.strackTraceLimit. For more information see the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_Extensions/Error.stackTraceLimit) or [v8 docs](https://v8.dev/docs/stack-trace-api).

0 commit comments

Comments
 (0)