Commit 9a672e6
authored
refactor!: various changes after review
- improved error printing: hide transparent errors in default view, but do display them in the debug view when locations are printed
- add `try_e`, `try_any`, `ensure_e`, `bail`, `bail_any` macros
- add context to anyerr macro
- deprecate `whatever` macro, use `try_e` or `try_any` instead
- deprecate `Err` macro, use `Err(e!(..))` insetad7 files changed
+507
-201
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments