Blame view

vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php 452 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <?php
  
  declare(strict_types=1);
  
  namespace ZipStream\Exception;
  
  use ZipStream\Exception;
  
  /**
   * This Exception gets invoked if a file wasn't found
   */
  class FileNotFoundException extends Exception
  {
      /**
       * Constructor of the Exception
       *
       * @param String $path - The path which wasn't found
       */
      public function __construct(string $path)
      {
          parent::__construct("The file with the path $path wasn't found.");
      }
  }