Skip to content

Commit 62662bd

Browse files
authored
Update changelogs from fern repo (#2532)
1 parent 9152d1c commit 62662bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## 3.35.9
2+
**`(fix):`** Fix generated error classes to correctly set the prototype chain, capture stack traces, and set the error name so `instanceof` checks behave as expected.
3+
Error classes now use `new.target.prototype` instead of the static class name for `Object.setPrototypeOf`,
4+
conditionally call `Error.captureStackTrace` for V8 environments, and set `this.name` dynamically.
5+
6+

0 commit comments

Comments
 (0)