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

feat!: Remove custom error from assert and ensure #130

Open
wants to merge 2 commits into
base: v5-pre
Choose a base branch
from

Conversation

lambdalisue
Copy link
Member

@lambdalisue lambdalisue commented Aug 24, 2024

Close #125

Now `ensure` does not accept options. Use `@core/errorutil/alter` to
throw a custom error.
Now, `assert` only throws an `AssertError` with the default message.
Use `@core/errorutil/alter` to throw a custom error.
Copy link

codecov bot commented Aug 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.89%. Comparing base (6f1acaa) to head (a2fd842).

Additional details and impacted files
@@            Coverage Diff             @@
##           v5-pre     #130      +/-   ##
==========================================
- Coverage   99.89%   99.89%   -0.01%     
==========================================
  Files          52       52              
  Lines         954      943      -11     
  Branches      120      118       -2     
==========================================
- Hits          953      942      -11     
  Misses          1        1              

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

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.

1 participant