Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add cause argument to the custom errors #296

Open
nklhtv opened this issue Jul 29, 2022 · 3 comments
Open

Add cause argument to the custom errors #296

nklhtv opened this issue Jul 29, 2022 · 3 comments
Labels

Comments

@nklhtv
Copy link
Collaborator

nklhtv commented Jul 29, 2022

Adding cause can help debugging.
For example this Error should look like:

error = new Error('Google Cast API not available', { cause: args });
@zeerakb1
Copy link

zeerakb1 commented Aug 6, 2022

hello @nklhtv, can I work on this issue?

@nklhtv
Copy link
Collaborator Author

nklhtv commented Sep 20, 2022

@zeerakb1 yes

nklhtv added a commit that referenced this issue Nov 26, 2022
Add cause argument to the custom errors #296
@SkullV5
Copy link

SkullV5 commented Oct 28, 2023

Is this issue still open for collaborations?
Just for clarify things, you need that every new error have a cause parameter so it can be easily debugged, is that?

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

No branches or pull requests

3 participants