123456789101112131415161718192021222324252627 |
- <?php
- /**
- * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
- namespace OCP\AppFramework\OCS;
- use Exception;
- use OCP\AppFramework\Http;
- /**
- * Class OCSForbiddenException
- *
- * @since 9.1.0
- */
- class OCSForbiddenException extends OCSException {
- /**
- * OCSForbiddenException constructor.
- *
- * @param string $message
- * @param Exception|null $previous
- * @since 9.1.0
- */
- public function __construct($message = '', ?Exception $previous = null) {
- parent::__construct($message, Http::STATUS_FORBIDDEN, $previous);
- }
- }
|