Skip to content

InvalidSyncToken

InvalidSyncToken.

This exception is emited for the {DAV:}valid-sync-token pre-condition, as defined in rfc6578, section 3.2.

http://tools.ietf.org/html/rfc6578#section-3.2

This is emitted in cases where the the sync-token, supplied by a client is either completely unknown, or has expired.

Methods

serialize

This method allows the exception to include additional information into the WebDAV error response.

public serialize(\Sabre\DAV\Server $server, \DOMElement $errorNode): mixed

Parameters:

Parameter Type Description
$server \Sabre\DAV\Server
$errorNode \DOMElement

Inherited methods

getHTTPCode

Returns the HTTP statuscode for this exception.

public getHTTPCode(): int

serialize

This method allows the exception to include additional information into the WebDAV error response.

public serialize(\Sabre\DAV\Server $server, \DOMElement $errorNode): mixed

Parameters:

Parameter Type Description
$server \Sabre\DAV\Server
$errorNode \DOMElement

getHTTPHeaders

This method allows the exception to return any extra HTTP response headers.

public getHTTPHeaders(\Sabre\DAV\Server $server): array

The headers must be returned as an array.

Parameters:

Parameter Type Description
$server \Sabre\DAV\Server


Automatically generated on 2025-03-18