This is recommended to get proper stack traces, according to https://github.com/cujojs/when/blob/master/docs/api.md#a-note-on-javascript-errors. The new Error objects has the exact same properties as the objects we used to reject promises previously, thus this should be fully backwards compatible, but improve debuggability. |
||
|---|---|---|
| .. | ||
| bind-helper.js | ||
| mopidy-test.js | ||