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