Cerys
6 months ago
2 changed files with 22 additions and 1 deletions
@ -0,0 +1,17 @@ |
|||
<?php |
|||
|
|||
namespace Darksparrow\DeegraphPHP\Exceptions; |
|||
|
|||
use Exception; |
|||
|
|||
class SchemaNameUnsetException extends Exception |
|||
{ |
|||
public function __construct( |
|||
string $message = "The Name field is required.", |
|||
int $code = 422 |
|||
) { |
|||
parent::__construct($message, $code); |
|||
$this->message = "$message"; |
|||
$this->code = $code; |
|||
} |
|||
} |
Loading…
Reference in new issue