Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403]

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