13 lines
282 B
PHP
13 lines
282 B
PHP
<?php
|
|
namespace ProVM\Exception\Authorization;
|
|
|
|
use Throwable;
|
|
use Exception;
|
|
|
|
class MissingToken extends Exception
|
|
{
|
|
public function __construct(string $placement, Throwable $previous)
|
|
{
|
|
parent::__construct("No token found in {$placement}", 401, $previous);
|
|
}
|
|
} |