1 | <?php declare(strict_types=1); |
||
13 | class RunException extends Exception |
||
14 | { |
||
15 | private $host; |
||
16 | private $command; |
||
17 | private $exitCode; |
||
18 | private $output; |
||
19 | private $errorOutput; |
||
20 | |||
21 | 1 | public function __construct( |
|
37 | |||
38 | public function getHost(): Host |
||
42 | |||
43 | public function getCommand(): string |
||
44 | { |
||
45 | return $this->command; |
||
46 | } |
||
47 | |||
48 | 1 | public function getExitCode(): int |
|
52 | |||
53 | 1 | public function getExitCodeText(): string |
|
57 | |||
58 | public function getOutput(): string |
||
62 | |||
63 | public function getErrorOutput(): string |
||
67 | } |
||
68 |