WIP
This commit is contained in:
21
app/Exceptions/PlaylistNotFoundException.php
Normal file
21
app/Exceptions/PlaylistNotFoundException.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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 PlaylistNotFoundException extends Exception
|
||||
{
|
||||
public function __construct(string $code)
|
||||
{
|
||||
parent::__construct("Плейлист '{$code}' не найден");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user