XBackBone/app/Exceptions/UnauthorizedException.php
Sergio Brighenti 07ccdefbde Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-04 10:36:59 +00:00

14 lines
292 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);
}
}