# give/4.16.8.1/src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.8.1. 19 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.8.1/code/src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php
- Raw: https://pluginprobe.com/plugins/give/4.16.8.1/raw/src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php
- Modified: 2023-10-16T17:55:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.8.1/code/src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php#L10-L20`.

```php
<?php


namespace Give\Framework\Blocks\Exceptions;

use Give\Framework\Exceptions\Primitives\Exception;

/**
 * @since 2.10.2
 */
class ReferenceBlockNotFoundException extends Exception
{
    public function __construct($name, $code = 0, Exception $previous = null)
    {
        $message = "Reference block with the name \"$name\" not found - cannot insert new block.";
        parent::__construct($message, $code, $previous);
    }
}

```
