bjyoungblood / es6-error

Easily-extendable error for use with ES6 classes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to alter stack trace.

reggi opened this issue · comments

commented

I have a custom error object and I've built in the ability to set and update message along with the stack trace.

https://github.com/reggi/error-suite/blob/master/src/multi-error.js#L27

It seems like you've locked any changes to this.stack from your end so It's read-only for me.

http://stackoverflow.com/questions/36986345/typeerror-stack-is-read-only

Can you update this so I can update the message in my stack trace?

Published v2.1.1 to npm.

commented

WOW WOW WOW WOW WOW WOW WOW WOW WOW WOW WOW Thanks!