Skip to content

Add factory function support for incompatible error constructors#114

Merged
sindresorhus merged 2 commits into
mainfrom
factory
Oct 18, 2025
Merged

Add factory function support for incompatible error constructors#114
sindresorhus merged 2 commits into
mainfrom
factory

Conversation

@sindresorhus
Copy link
Copy Markdown
Owner

Fixes #72

@sindresorhus sindresorhus requested review from fregante and removed request for fregante October 18, 2025 10:32
Comment thread error-constructors.d.ts
Comment thread index.js Outdated
@sindresorhus
Copy link
Copy Markdown
Owner Author

Done

Copy link
Copy Markdown
Collaborator

@fregante fregante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rate this 6 / 7

@sindresorhus sindresorhus merged commit d196952 into main Oct 18, 2025
4 checks passed
@sindresorhus sindresorhus deleted the factory branch October 18, 2025 12:10
Repository owner deleted a comment from asgardthundee Oct 19, 2025
n0099 added a commit to n0099/open-tbm that referenced this pull request Feb 27, 2026
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.

Handle custom error constructors with incompatible signatures

2 participants