nextcloud/lib/public/SabrePluginException.php
Ferdinand Thiessen 81752fc9ed
chore(ocp): add Override attribute to all OCP classes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-28 21:29:27 +02:00

26 lines
468 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCP;
use Sabre\DAV\Exception;
/**
* @since 8.2.0
*/
class SabrePluginException extends Exception {
/**
* Returns the HTTP statuscode for this exception
*
* @return int
* @since 8.2.0
*/
#[\Override]
public function getHTTPCode() {
return $this->code;
}
}