# give/4.18.0/src/DonationForms/Exceptions/DonationFormForbidden.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 21 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/DonationForms/Exceptions/DonationFormForbidden.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/DonationForms/Exceptions/DonationFormForbidden.php
- Modified: 2026-09-23T17:56:52+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.18.0/code/src/DonationForms/Exceptions/DonationFormForbidden.php#L10-L20`.

```php
<?php

namespace Give\DonationForms\Exceptions;

use Exception;
use Throwable;

/**
 * @since 3.14.0
 */
class DonationFormForbidden extends Exception
{
    /**
     * @since 4.17.0 Declare the nullable parameter explicitly.
     */
    public function __construct($message = 'Forbidden', $code = 403, ?Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}

```
