EmptyNameException.php
4 years ago
NameCollisionException.php
4 years ago
ReferenceNodeNotFoundException.php
4 years ago
TypeNotSupported.php
4 years ago
ReferenceNodeNotFoundException.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\FieldsAPI\Exceptions; |
| 4 | |
| 5 | use Give\Framework\Exceptions\Primitives\Exception; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.10.2 |
| 9 | */ |
| 10 | class ReferenceNodeNotFoundException extends Exception |
| 11 | { |
| 12 | public function __construct($name, $code = 0, Exception $previous = null) |
| 13 | { |
| 14 | $message = "Reference node with the name \"$name\" not found - cannot insert new node."; |
| 15 | parent::__construct($message, $code, $previous); |
| 16 | } |
| 17 | } |
| 18 |