# metricool/2.1.1/app/Features/Onboarding/Exceptions/CreateAccountException.php

Metricool – Social media and site statistics, version 2.1.1. 21 lines.

- Page: https://pluginprobe.com/plugins/metricool/2.1.1/code/app/Features/Onboarding/Exceptions/CreateAccountException.php
- Raw: https://pluginprobe.com/plugins/metricool/2.1.1/raw/app/Features/Onboarding/Exceptions/CreateAccountException.php
- Modified: 2026-08-20T14:08:30+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/metricool/2.1.1/code/app/Features/Onboarding/Exceptions/CreateAccountException.php#L10-L20`.

```php
<?php

namespace Metricool\Features\Onboarding\Exceptions;

class CreateAccountException extends \RuntimeException
{
    public ?string $reason;

    public function __construct(string $message, ?string $reason = null, int $code = 500)
    {
        parent::__construct($message, $code);

        $this->reason = $reason;
    }

    public function getReason(): ?string
    {
        return $this->reason;
    }
}

```
