Skip to content

[feature] Generic Exceptions#3

Open
asleepace wants to merge 9 commits intomasterfrom
feature/generic-exceptions
Open

[feature] Generic Exceptions#3
asleepace wants to merge 9 commits intomasterfrom
feature/generic-exceptions

Conversation

@asleepace
Copy link
Owner

Description

This pull request adds support for generic exceptions which default to the Error type, but can also be specified by the caller.

Why?

Exceptions in JS and TS don't have to conform to the built-in Error class, and really you can throw anything. Previously this package coerced the exceptions into the Error class, but this pull request adds support for changing this default behavior.

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.

1 participant