Разделение по отдельным репозиториям
This commit is contained in:
15
app/Errors/PlaylistNotFoundException.php
Normal file
15
app/Errors/PlaylistNotFoundException.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Errors;
|
||||
|
||||
use Exception;
|
||||
|
||||
class PlaylistNotFoundException extends Exception
|
||||
{
|
||||
public function __construct(string $id)
|
||||
{
|
||||
parent::__construct("Плейлист $id не найден!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user