Class PermissionRequired
Exception thrown when a user lacks a required permission.
- Exception implements Throwable
-
ICanBoogie\HTTP\ClientError
implements
ICanBoogie\HTTP\Exception
-
ICanBoogie\HTTP\PermissionRequired
implements
ICanBoogie\HTTP\SecurityError
Methods summary
public
|
#
__construct( $message = "You don't have the required permission.", $code = Status::UNAUTHORIZED,
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
Properties inherited from Exception
$code,
$file,
$line,
$message