Skip to content
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

Return anyhow error instead of IO error #905

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

jeffcharles
Copy link
Collaborator

Description of the change

Have plugin::new_from_path return an anyhow::Error instead of an io::Error.

Why am I making this change?

Mostly consistency with the rest of the API.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-plugin do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

@jeffcharles jeffcharles requested a review from saulecabrera March 7, 2025 15:25
@jeffcharles jeffcharles enabled auto-merge (squash) March 7, 2025 15:45
@jeffcharles jeffcharles merged commit 5833c8c into main Mar 7, 2025
4 checks passed
@jeffcharles jeffcharles deleted the jc.return-anyhow-error-instead-of-io-error branch March 7, 2025 15:53
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