Nextcloud Circles API

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

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]

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

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setStatus()

protected setStatus(int $status) : void
Parameters
$status : int
Return values
void

Search results