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

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

- Page: https://pluginprobe.com/plugins/give/4.15.5/code/src/Donors/Exceptions/FailedDonorUpdateException.php
- Raw: https://pluginprobe.com/plugins/give/4.15.5/raw/src/Donors/Exceptions/FailedDonorUpdateException.php
- Modified: 2022-05-11T23:49:06+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.15.5/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;

    public function __construct( Donor $donor = null, $code = 0, $previous = null ) {
        parent::__construct('Failed updating the donor', $code, $previous);
        $this->donor = $donor;
    }
}

```
