for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace jeremykenedy\LaravelRoles\App\Exceptions;
class LevelDeniedException extends AccessDeniedException
{
/**
* Create a new level denied exception instance.
*
* @param string $level
*/
public function __construct($level)
$this->message = sprintf("You don't have a required [%s] level.", $level);
}