NotSupportedPrivilege
If a client tried to set a privilege that doesn't exist, this exception will be thrown.
- Full name:
\Sabre\DAVACL\Exception\NotSupportedPrivilege
- Parent class:
\Sabre\DAV\Exception\PreconditionFailed
Methods
serialize
Adds in extra information in the xml response.
This method adds the {DAV:}not-supported-privilege element as defined in rfc3744
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 |
__construct
Create the exception.
Parameters:
Parameter | Type | Description |
---|---|---|
$message |
string | |
$header |
string |
Automatically generated on 2025-03-18