stremio-web icon indicating copy to clipboard operation
stremio-web copied to clipboard

Add `cause` argument to the custom errors

Open nklhtv opened this issue 1 year ago • 3 comments

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

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

nklhtv avatar Jul 29 '22 13:07 nklhtv

hello @nklhtv, can I work on this issue?

zeerakb1 avatar Aug 06 '22 16:08 zeerakb1

@zeerakb1 yes

nklhtv avatar Sep 20 '22 06:09 nklhtv

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?

SkullV5 avatar Oct 28 '23 05:10 SkullV5