Lines Matching refs:error
30 // Test with an error argument.
31 process.report.writeReport(new Error('test error'));
36 // Test with an error with one line stack
37 const error = new Error();
38 error.stack = 'only one line';
39 process.report.writeReport(error);
44 const error = new Error();
45 error.foo = 'goo';
46 process.report.writeReport(error);
61 // Test with file and error arguments.
63 new Error('test error'));
89 // Test with an invalid error argument.
90 [null, 1, Symbol(), function() {}, 'foo'].forEach((error) => {
92 process.report.writeReport('file', error);