ehmicky

ehmicky/set-error-props

Properly update an error's properties

JavaScript
4
0
MIT License

This package provides a utility function to safely update an error's properties without overriding core properties or causing prototype pollution. It's designed for Node.js and browser environments where developers need to add custom properties to Error objects while maintaining their integrity.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of ehmicky/set-error-props

Account's avatar
Check if a value is an `Error` instance
Account's avatar
Better `Object.defineProperty()`.
Account's avatar
Automated development tasks for my own projects
Account's avatar
ESLint configuration for my own projects
Account's avatar
Prettier configuration for my own projects
Account's avatar
🤖 Repeat tests. Repeat tests. Repeat tests.

Support the repos that depend on ehmicky/set-error-props

Top contributors

ehmicky's profile
ehmicky
471 contributions
dependabot[bot]'s profile
dependabot[bot]
17 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet