Cerys Lewis
6 months ago
4 changed files with 31 additions and 6 deletions
@ -0,0 +1,17 @@ |
|||
<?php |
|||
|
|||
namespace Darksparrow\DeegraphPHP\Exceptions; |
|||
|
|||
use Exception; |
|||
|
|||
class QueryBuilderInvalidDeegraphPathException extends Exception |
|||
{ |
|||
public function __construct( |
|||
string $message = "The Deegraph path you have entered is not valid.", |
|||
int $code = 422 |
|||
) { |
|||
parent::__construct($message, $code); |
|||
$this->message = "$message"; |
|||
$this->code = $code; |
|||
} |
|||
} |
Loading…
Reference in new issue