Locked
Locked.
The 423 is thrown when a client tried to access a resource that was locked, without supplying a valid lock token
- Full name:
\Sabre\DAV\Exception\Locked
- Parent class:
\Sabre\DAV\Exception
Properties
lock
Lock information.
Methods
__construct
Creates the exception.
A LockInfo object should be passed if the user should be informed which lock actually has the file locked.
Parameters:
Parameter | Type | Description |
---|---|---|
$lock |
\Sabre\DAV\Locks\LockInfo |
getHTTPCode
Returns the HTTP statuscode for this exception.
serialize
This method allows the exception to include additional information into the WebDAV error response.
Parameters:
Parameter | Type | Description |
---|---|---|
$server |
\Sabre\DAV\Server | |
$errorNode |
\DOMElement |
Inherited methods
getHTTPCode
Returns the HTTP statuscode for this exception.
serialize
This method allows the exception to include additional information into the WebDAV error response.
Parameters:
Parameter | Type | Description |
---|---|---|
$server |
\Sabre\DAV\Server | |
$errorNode |
\DOMElement |
getHTTPHeaders
This method allows the exception to return any extra HTTP response headers.
The headers must be returned as an array.
Parameters:
Parameter | Type | Description |
---|---|---|
$server |
\Sabre\DAV\Server |
Automatically generated on 2025-03-18