windtalk icon indicating copy to clipboard operation
windtalk copied to clipboard

Errors are stringified

Open dmezei opened this issue 4 years ago • 0 comments

Errors here are converted into a string: https://github.com/pshihn/windtalk/blob/master/index.js#L29

Why is that necessary? In case there is an error it's hard to handle that if the error is a string :)

I think you can just post the error object, it'll be automatically serialized and then deserialized.

dmezei avatar Mar 12 '20 12:03 dmezei