2017-06-25 15:31:50 -05:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
namespace App\Exceptions\Service\User;
|
2017-06-25 15:31:50 -05:00
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
use App\Exceptions\DisplayException;
|
2019-09-05 21:32:57 -07:00
|
|
|
|
2019-12-22 17:03:44 -08:00
|
|
|
class TwoFactorAuthenticationTokenInvalid extends DisplayException
|
2017-06-25 15:31:50 -05:00
|
|
|
{
|
2024-06-05 21:49:09 -04:00
|
|
|
public string $title = 'Invalid 2FA Code';
|
|
|
|
|
public string $icon = 'tabler-2fa';
|
|
|
|
|
|
2021-03-21 10:43:01 -07:00
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
parent::__construct('The provided two-factor authentication token was not valid.');
|
|
|
|
|
}
|
2017-06-25 15:31:50 -05:00
|
|
|
}
|