shlink/module/Rest/src/Exception/AuthenticationException.php
2018-09-28 22:08:01 +02:00

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);
}
}