InsufficientPermissionException
extends FederatedItemForbiddenException
in package
Class FederatedItemForbiddenException
Table of Contents
- STATUS = \OCP\AppFramework\Http::STATUS_FORBIDDEN
- $CHILDREN : mixed
- $status : int
- __construct() : mixed
- FederatedItemException constructor.
- getStatus() : int
- jsonSerialize() : array<string|int, mixed>
- setStatus() : void
Constants
STATUS
public
mixed
STATUS
= \OCP\AppFramework\Http::STATUS_FORBIDDEN
Properties
$CHILDREN
public
static mixed
$CHILDREN
= [\OCA\Circles\Exceptions\FederatedItemBadRequestException::class, \OCA\Circles\Exceptions\FederatedItemConflictException::class, \OCA\Circles\Exceptions\FederatedItemForbiddenException::class, \OCA\Circles\Exceptions\FederatedItemNotFoundException::class, \OCA\Circles\Exceptions\FederatedItemRemoteException::class, \OCA\Circles\Exceptions\FederatedItemServerException::class, \OCA\Circles\Exceptions\FederatedItemUnauthorizedException::class]
$status
private
int
$status
= \OCP\AppFramework\Http::STATUS_BAD_REQUEST
Methods
__construct()
FederatedItemException constructor.
public
__construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int
- $previous : Throwable|null = null
Return values
mixed —getStatus()
public
getStatus() : int
Return values
int —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —setStatus()
protected
setStatus(int $status) : void
Parameters
- $status : int