The error.stack property is missing. Looks like CoffeeScript's "inheritance" just sets the prototype and the constructor does not contain a super() call, so the native constructor of Error is never called, which means no stack trace is captured.
https://github.com/bruth/jsonpatch-js/blob/master/jsonpatch.js#L4
The
error.stackproperty is missing. Looks like CoffeeScript's "inheritance" just sets the prototype and the constructor does not contain asuper()call, so the native constructor ofErroris never called, which means no stack trace is captured.https://github.com/bruth/jsonpatch-js/blob/master/jsonpatch.js#L4