trypost/app/Exceptions/TokenExpiredException.php

18 lines
331 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace App\Exceptions;
use Exception;
class TokenExpiredException extends Exception
{
public function __construct(
string $message = 'Access token has expired or been revoked',
public ?string $platformErrorCode = null
) {
parent::__construct($message);
}
}