supermacro / neverthrow

Type-Safe Errors for JS & TypeScript
MIT License
4.03k stars 84 forks source link

Add orTee method to tee the error track #615

Open konker opened 1 week ago

konker commented 1 week ago

Add a method for both Result and ResultAsync to tee the error track.

I now see that it's very similar to #612 , so at least this can be considered a +1 :)

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 85ed7fd3a1247e4c0e83bba13f5e874282243d75

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | neverthrow | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR