<?php namespace App\Exceptions; class NoPermissionException extends HTTPException { public function __construct($httpCode = 403, $message = "You don't have the permission for this call", $code = 0, Exception $previous = null) { parent::__construct($httpCode, $message, $code, $previous); } }