mirror of
https://github.com/koel/koel
synced 2024-11-15 00:47:18 +00:00
14 lines
273 B
PHP
14 lines
273 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Exceptions;
|
||
|
|
||
|
use InvalidArgumentException;
|
||
|
|
||
|
class PlaylistBothSongsAndRulesProvidedException extends InvalidArgumentException
|
||
|
{
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct('A playlist cannot have both songs and rules');
|
||
|
}
|
||
|
}
|