mirror of
https://github.com/nextcloud/server.git
synced 2024-11-14 20:36:50 +00:00
dae7c159f7
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
28 lines
638 B
PHP
28 lines
638 B
PHP
<?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 OCSPreconditionFailedException
|
|
*
|
|
* @since 28.0.0
|
|
*/
|
|
class OCSPreconditionFailedException extends OCSException {
|
|
/**
|
|
* OCSPreconditionFailedException constructor.
|
|
*
|
|
* @param string $message
|
|
* @param Exception|null $previous
|
|
* @since 9.1.0
|
|
*/
|
|
public function __construct($message = '', ?Exception $previous = null) {
|
|
parent::__construct($message, Http::STATUS_PRECONDITION_FAILED, $previous);
|
|
}
|
|
}
|