1 | <?php |
||
13 | class FileFetchingException extends \RuntimeException { |
||
14 | |||
15 | private $fileUrl; |
||
16 | |||
17 | 4 | public function __construct( string $fileUrl, string $message = null, \Exception $previous = null ) { |
|
18 | 4 | $this->fileUrl = $fileUrl; |
|
19 | |||
20 | 4 | parent::__construct( |
|
21 | 4 | $message ?: 'Could not fetch file: ' . $fileUrl, |
|
22 | 4 | 0, |
|
23 | $previous |
||
24 | ); |
||
25 | 4 | } |
|
26 | |||
27 | 1 | public function getFileUrl(): string { |
|
30 | |||
31 | } |
||
32 |