Skip to content

Conversation

@Frando
Copy link
Member

@Frando Frando commented Oct 24, 2025

  • 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!(..)) insetad

Description

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

- 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!(..))` insetad
@github-actions
Copy link

github-actions bot commented Oct 24, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/n0-error/pr/7/docs/n0_error/

Last updated: 2025-10-27T11:10:54Z

@Frando Frando merged commit 9a672e6 into main Oct 27, 2025
7 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants