This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccount/app/Exceptions/NoPermissionException.php

9 lines
282 B
PHP
Raw Normal View History

2019-04-25 15:33:15 +00:00
<?php
namespace App\Exceptions;
class NoPermissionException extends HTTPException
{
public function __construct($httpCode = 403, $message = "You need to login", $code = 0, Exception $previous = null) {
parent::__construct($httpCode, $message, $code, $previous);
}
}