mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-29 08:00:28 +01:00
15 lines
358 B
PHP
15 lines
358 B
PHP
<?php
|
|
|
|
namespace Xentral\Modules\Api\Exception;
|
|
|
|
use Throwable;
|
|
use Xentral\Modules\Api\Http\Exception\HttpException;
|
|
|
|
class AuthorizationErrorException extends HttpException
|
|
{
|
|
public function __construct($message = 'Authorization error', $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct(401, $message, $code, $previous);
|
|
}
|
|
}
|