Commit 8d8a292
committed
Forward constructor options from ServerlessError to Error
Passing the options object through to the native Error constructor makes
ServerlessError support the standard { cause } option, so wrappers can
preserve the underlying error alongside a user-facing message.
Claude-Session: https://claude.ai/code/session_01XjKyVVZTqg7EmwqRgGtjwc1 parent a6ff801 commit 8d8a292
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments