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

Map err #58

Merged
merged 29 commits into from
Sep 22, 2024
Merged

Map err #58

merged 29 commits into from
Sep 22, 2024

Conversation

janglad
Copy link
Owner

@janglad janglad commented Sep 22, 2024

Features

  • Add mapErr(), function

Changes

  • If a child defines a catch handler, and parent uses the default, the child handler will now be used for the parent. This also influences the types around this.

Internals

  • Simplifies how types for Result are tracked to make mapping over them possible

Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
safe-fn ❌ Failed (Inspect) Sep 22, 2024 6:32pm

@janglad janglad merged commit 1a9a394 into main Sep 22, 2024
2 of 3 checks passed
@janglad janglad deleted the map-err branch September 22, 2024 18:33
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