mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-09 05:17:35 +03:00
12 lines
277 B
PHP
12 lines
277 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Rest\Exception;
|
|
|
|
class AuthenticationException extends RuntimeException
|
|
{
|
|
public static function expiredJWT(\Exception $prev = null): self
|
|
{
|
|
return new self('The token has expired.', -1, $prev);
|
|
}
|
|
}
|