XBackBone/app/Exceptions/UnauthorizedException.php
Sergio Brighenti 805d1d07a8 Initial commit
2018-04-28 14:20:07 +02:00

15 lines
277 B
PHP

<?php
namespace App\Exceptions;
use Exception;
use Throwable;
class UnauthorizedException extends Exception
{
public function __construct(string $message = 'Forbidden', int $code = 403, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}