Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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 FileNotFoundException extends Exception
13
{
14
    /**
15
     * @internal
16
     */
17
    public function __construct(
18
        public readonly string $path
19
    ) {
20
        parent::__construct("The file with the path $path wasn't found.");
21
    }
22
}