Improve errors #1

Open
opened 2026-07-29 10:20:40 +00:00 by nova · 0 comments
Owner

Currently, every package uses anyhow for errors. It allows to go fast and not think about errors.

However, not all errors make sense without context.

For the packages, I suggest :

  • glacier : adding .context() calls.
  • glacier-core and glacier-crypto : using the thiserror package to construct our own error wrappers.
Currently, every package uses `anyhow` for errors. It allows to go fast and not think about errors. However, not all errors make sense without context. For the packages, I suggest : - `glacier` : adding `.context()` calls. - `glacier-core` and `glacier-crypto` : using the `thiserror` package to construct our own error wrappers.
nova self-assigned this 2026-07-29 10:20:40 +00:00
nova added this to the 1.3.0 milestone 2026-08-01 21:45:56 +00:00
nova added reference feat/error-handling 2026-08-02 13:23:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nova/glacier#1
No description provided.