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
308 B
PHP
Raw Permalink Normal View History

2019-04-25 15:33:15 +00:00
<?php
namespace App\Exceptions;
class NoPermissionException extends HTTPException
{
2019-07-18 08:18:08 +00:00
public function __construct($httpCode = 403, $message = "You don't have the permission for this call", $code = 0, Exception $previous = null) {
2019-04-25 15:33:15 +00:00
parent::__construct($httpCode, $message, $code, $previous);
}
}