class AccessDeniedException extends RuntimeException

AccessDeniedException is thrown when the account has not the required role.

Methods

__construct($message = 'Access Denied.', Exception $previous = null)

No description

array
getAttributes()

No description

setAttributes(array|string $attributes)

No description

mixed
getSubject()

No description

setSubject(mixed $subject)

No description

Details

at line line 24
__construct($message = 'Access Denied.', Exception $previous = null)

Parameters

$message
Exception $previous

at line line 32
array getAttributes()

Return Value

array

at line line 40
setAttributes(array|string $attributes)

Parameters

array|string $attributes

at line line 48
mixed getSubject()

Return Value

mixed

at line line 56
setSubject(mixed $subject)

Parameters

mixed $subject