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
= self::DEFAULT_MESSAGE, $code
= Status::UNAUTHORIZED, ICanBoogie\HTTP\Exception
$previous
= null )
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Constants summary
Properties summary
Properties inherited from Exception
$code
,
$file
,
$line
,
$message