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

Replace remaining errors #38

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Replace remaining errors #38

merged 1 commit into from
Nov 14, 2024

Conversation

theory
Copy link
Member

@theory theory commented Nov 13, 2024

All the APIs now return errors from the error module in this crate. The only bits left that return boxed errors are:

  • The custom JSON Schema format validation functions in src/valid/compiler/mod.rs, which are required to be boxed errors by the boon crate.
  • build.rs and main.rs, where it seems harmless, since those errors are always printed ton the terminal.

@theory theory added the enhancement New feature or request label Nov 13, 2024
@theory theory requested a review from vrmiguel November 13, 2024 20:22
@theory theory self-assigned this Nov 13, 2024
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (fb02ea2) to head (bf6db96).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         1094      1088    -6     
=========================================
- Hits          1094      1088    -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

All the APIs now return errors from the error module in this crate. The
only bits left that return boxed errors are:

*   The custom JSON Schema format validation functions in
    `src/valid/compiler/mod.rs`, which are required to be boxed errors
    by the boon crate.
*   `build.rs` and `main.rs`, where it seems harmless, since those
    errors are always printed ton the terminal.
Base automatically changed from more-thiserror to main November 14, 2024 22:17
@theory theory merged commit bf6db96 into main Nov 14, 2024
138 checks passed
@theory theory deleted the release-thiserror branch November 14, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants