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

Add new matchError helper #652

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Add new matchError helper #652

merged 1 commit into from
Sep 1, 2023

Conversation

Jason2605
Copy link
Member

MatchError

What's Changed:

A helper similar to match that will automatically return the value wrapped in a success Result type. Helpful as most of the time we simply want to just unwrap a Result without actually transforming it inbetween

Type of Change:

  • Bug fix
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Housekeeping:

  • Tests have been updated to reflect the changes done within this PR (if applicable).
  • Documentation has been updated to reflect the changes done within this PR (if applicable).

Screenshots (If Applicable):

@Jason2605 Jason2605 self-assigned this Sep 1, 2023
@briandowns
Copy link
Contributor

This is a fantastic addition!

@Jason2605 Jason2605 merged commit d7b7ee5 into develop Sep 1, 2023
@Jason2605 Jason2605 deleted the feature/matchError branch September 1, 2023 22:55
This was referenced Oct 31, 2023
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