d.once('error', function (err: Error) { console.error(err.stack || err); _suman.writeTestError(err.stack || err); d.exit(); process.nextTick(function () { err = new Error('Suman usage error => Error acquiring IOC deps => \n' + (err.stack || err)); err.sumanFatal = true; err.sumanExitCode = constants.EXIT_CODES.IOC_DEPS_ACQUISITION_ERROR; _suman.log.error(err.stack || err); gracefulExit(err, null); }); });
d.once('error', function (err: Error) { console.error('\n'); _suman.log.error(chalk.magenta('fatal error => ' + (err.stack || err) + '\n')); process.exit(constants.RUNNER_EXIT_CODES.UNEXPECTED_FATAL_ERROR); });
d.once('error', function ($err: any) { d.exit(); process.nextTick(gracefulExit, {
d.once('error', function (err: Error) { _suman.log.error(chalk.magenta('Your test was looking to source the following integrant dependencies:\n', chalk.cyan(util.inspect(integrants)), '\n', 'But there was a problem.'));