Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
5 | final class HostException extends \Exception |
||
6 | { |
||
7 | public static function noHostMount() |
||
8 | { |
||
9 | return new self( |
||
10 | "There is no writable bind mount with the destination '/host'.\nMake sure you run your command ". |
||
11 | "with a volume like this:\n-v \"$(pwd)\":/host" |
||
12 | ); |
||
13 | } |
||
14 | |||
15 | public static function noSocketMount(string $message) |
||
20 | ); |
||
21 | } |
||
23 | } |