NameCollisionException.php
4 years ago
ReferenceNodeNotFoundException.php
4 years ago
TypeNotSupported.php
4 years ago
ReferenceNodeNotFoundException.php
16 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 | public function __construct( $name, $code = 0, Exception $previous = null ) { |
| 12 | $message = "Reference node with the name \"$name\" not found - cannot insert new node."; |
| 13 | parent::__construct( $message, $code, $previous ); |
| 14 | } |
| 15 | } |
| 16 |