Conditions | 3 |
Paths | 6 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var DefaultHandlers = [ |
||
36 | error: function (value, expanded) { |
||
37 | if (expanded) { |
||
38 | return [Renderer.error(value, false), 'Stack:', value.stack].join('\r\n') |
||
39 | } |
||
40 | if (DefaultHandlers.indexOf(value.toString) === -1) { |
||
41 | return '<' + value.toString() + '>' |
||
42 | } |
||
43 | return '<' + (value.name || '<unknown error>') + ': ' + (value.message || '<no message>') + '>' |
||
44 | }, |
||
45 | /** |
||
64 |