Cerys
5 months ago
3 changed files with 23 additions and 6 deletions
@ -0,0 +1,17 @@ |
|||
<?php |
|||
|
|||
namespace Darksparrow\AuxiliumSchemaBuilder\Exceptions; |
|||
|
|||
use Exception; |
|||
|
|||
class SchemaDocumentFieldNameUnsetException 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