Commit c722ab9
committed
fix(errors): restore file and line info
When upgrading to version 2.0.0 the errors implementation was changed,
and the "filename" and "line" context was removed from the `toString`
representation. This commit restores the information by extending the
`make-error-cause` method.
Fixes #264.1 parent da3e18f commit c722ab9
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments