supermacro / neverthrow

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

feat: Add andInspectErr method #612

Open krawitzzZ opened 1 week ago

krawitzzZ commented 1 week ago

Hi! Thanks a lot for the library, I am enjoying using it a lot! 🥇

This PR adds a new method called andInspectErr similar to inspect_err we have in rust.

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 5fd6e291d1f396e0a6c577b0bd6d72f4ce5e604b

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