Nextcloud Circles API

FederatedItemBadRequestException extends FederatedItemException
in package

Class FederatedItemBadRequestException

Table of Contents

STATUS  = \OCP\AppFramework\Http::STATUS_BAD_REQUEST
$CHILDREN  : mixed
$status  : int
__construct()  : mixed
FederatedItemBadRequestException 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()

FederatedItemBadRequestException 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