0
0
mirror of https://github.com/nextcloud/server.git synced 2024-11-14 12:26:49 +00:00
nextcloud_server/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

32 lines
737 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Federation\Exceptions;
use OCP\AppFramework\Http;
use OCP\HintException;
/**
* Class ProviderCouldNotAddShareException
*
*
* @since 14.0.0
*/
class ProviderCouldNotAddShareException extends HintException {
/**
* ProviderCouldNotAddShareException constructor.
*
* @since 14.0.0
*
* @param string $message
* @param string $hint
* @param int $code
* @param \Exception|null $previous
*/
public function __construct($message, $hint = '', $code = Http::STATUS_BAD_REQUEST, ?\Exception $previous = null) {
parent::__construct($message, $hint, $code, $previous);
}
}