mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
14 lines
331 B
JavaScript
14 lines
331 B
JavaScript
const { DetoxError } = require('../../src/errors');
|
|
|
|
class TestRunnerError extends DetoxError {
|
|
constructor({ command, code, signal }) {
|
|
super(`Command failed with exit code = ${code}:\n${command}`);
|
|
|
|
this.code = code;
|
|
this.signal = signal;
|
|
this.name = 'TestRunnerError';
|
|
}
|
|
}
|
|
|
|
module.exports = TestRunnerError;
|