Skip to content

feat!: introduce explicit error handling #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Conversation

dignifiedquire
Copy link
Contributor

@dignifiedquire dignifiedquire commented Dec 13, 2024

Description

Introduces an explicit Error, instead of using anyhow
Also removes an unused dependency time

Ref n0-computer/iroh#2741

Breaking Changes

Functions do not return anyhow::Error, but std::io::Error or iroh_metrics::Error now.

Notes & open questions

Change checklist

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

@dignifiedquire dignifiedquire requested a review from Arqu December 13, 2024 19:07
Copy link

github-actions bot commented Dec 13, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-metrics/pr/3/docs/iroh_gossip/

Last updated: 2024-12-13T19:11:56Z

@dignifiedquire dignifiedquire added this to the v0.30.0 milestone Dec 16, 2024
Copy link
Contributor

@Arqu Arqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dignifiedquire dignifiedquire merged commit 27e643e into main Dec 16, 2024
25 checks passed
@dignifiedquire dignifiedquire deleted the feat-explicit-error branch December 16, 2024 18:29
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