WIP
This commit is contained in:
20
app/Exceptions/FileReadException.php
Normal file
20
app/Exceptions/FileReadException.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2025, Антон Аксенов
|
||||
* This file is part of m3u.su project
|
||||
* MIT License: https://git.axenov.dev/IPTV/web/src/branch/master/LICENSE
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class FileReadException extends Exception
|
||||
{
|
||||
public function __construct(string $filepath)
|
||||
{
|
||||
parent::__construct('Ошибка чтения файла: ' . $filepath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user