Skip to content

feat: add name property to errors #414

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Sep 13, 2024

Adds a .name property to all errors that can be used in a more idiomatic way than .code.

The .code property is still present so this is a backwards compatible change.

Adds a `.name` property to all errors that can be used in a more
ideomatic way than `.code`.
@achingbrain achingbrain force-pushed the feat/add-name-property-to-errors branch from 27ae95c to 3d70363 Compare September 13, 2024 11:44
@achingbrain achingbrain merged commit 70145c7 into main Sep 13, 2024
19 checks passed
@achingbrain achingbrain deleted the feat/add-name-property-to-errors branch September 13, 2024 13:49
github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
## [ipfs-unixfs-v11.2.0](ipfs-unixfs-11.1.5...ipfs-unixfs-11.2.0) (2024-09-13)

### Features

* add name property to errors ([#414](#414)) ([70145c7](70145c7))
Copy link

🎉 This PR is included in version ipfs-unixfs-v11.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
## [ipfs-unixfs-importer-v15.3.0](ipfs-unixfs-importer-15.2.6...ipfs-unixfs-importer-15.3.0) (2024-09-13)

### Features

* add name property to errors ([#414](#414)) ([70145c7](70145c7))
Copy link

🎉 This PR is included in version ipfs-unixfs-importer-v15.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
## [ipfs-unixfs-exporter-v13.6.0](ipfs-unixfs-exporter-13.5.1...ipfs-unixfs-exporter-13.6.0) (2024-09-13)

### Features

* add name property to errors ([#414](#414)) ([70145c7](70145c7))
Copy link

🎉 This PR is included in version ipfs-unixfs-exporter-v13.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant