You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
479 B
18 lines
479 B
<?php
|
|
|
|
namespace Darksparrow\DeegraphInteractions\Exceptions;
|
|
|
|
use Exception;
|
|
|
|
class QueryBuilderConflictingFieldAlreadyExistsException extends Exception
|
|
{
|
|
public function __construct(
|
|
string $message = "You have tried to set a field which would nullify a field you've previously set.",
|
|
int $code = 422
|
|
)
|
|
{
|
|
parent::__construct($message, $code);
|
|
$this->message = "$message";
|
|
$this->code = $code;
|
|
}
|
|
}
|
|
|