mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Updated ValidationException's base exception
This commit is contained in:
@@ -16,6 +16,7 @@ use function explode;
|
||||
use function sprintf;
|
||||
use function strtolower;
|
||||
|
||||
/** @deprecated */
|
||||
class AuthorizationHeaderPlugin implements AuthenticationPluginInterface
|
||||
{
|
||||
public const HEADER_NAME = 'Authorization';
|
||||
|
||||
@@ -22,14 +22,14 @@ class RestUtils
|
||||
/** @deprecated */
|
||||
public const INVALID_SLUG_ERROR = Core\NonUniqueSlugException::TYPE;
|
||||
/** @deprecated */
|
||||
public const NOT_FOUND_ERROR = Core\TagNotFoundException::TYPE;
|
||||
/** @deprecated */
|
||||
public const UNKNOWN_ERROR = 'UNKNOWN_ERROR';
|
||||
|
||||
public const INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS';
|
||||
public const INVALID_AUTH_TOKEN_ERROR = 'INVALID_AUTH_TOKEN';
|
||||
public const INVALID_AUTHORIZATION_ERROR = 'INVALID_AUTHORIZATION';
|
||||
public const INVALID_API_KEY_ERROR = 'INVALID_API_KEY';
|
||||
/** @deprecated */
|
||||
public const NOT_FOUND_ERROR = Core\TagNotFoundException::TYPE;
|
||||
/** @deprecated */
|
||||
public const UNKNOWN_ERROR = 'UNKNOWN_ERROR';
|
||||
|
||||
/** @deprecated */
|
||||
public static function getRestErrorCodeFromException(Throwable $e): string
|
||||
|
||||
Reference in New Issue
Block a user