# give/4.18.0/src/Donors/Exceptions/FailedDonorUpdateException.php

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

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/Donors/Exceptions/FailedDonorUpdateException.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/Donors/Exceptions/FailedDonorUpdateException.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/Donors/Exceptions/FailedDonorUpdateException.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Give\Donors\Exceptions;

use Give\Donors\Models\Donor;
use Give\Framework\Exceptions\Primitives\Exception;

class FailedDonorUpdateException extends Exception
{
    protected $donor;

    /**
     * @since 4.17.0 Declare the nullable parameter explicitly.
     */
    public function __construct( ?Donor $donor = null, $code = 0, $previous = null ) {
        parent::__construct('Failed updating the donor', $code, $previous);
        $this->donor = $donor;
    }
}

```
