Files
nextcloud-server-mirror/lib/unstable/Sharing/Exception/ShareNotFoundException.php
2026-07-29 08:15:30 +02:00

28 lines
587 B
PHP

<?php
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
declare(strict_types=1);
namespace NCU\Sharing\Exception;
use OCP\AppFramework\Attribute\Consumable;
use OCP\L10N\IFactory;
use OCP\Server;
/**
* @experimental 35.0.0
*/
#[Consumable(since: '35.0.0')]
final class ShareNotFoundException extends AShareException {
/**
* @experimental 35.0.0
*/
public function __construct() {
parent::__construct('Share not found.', Server::get(IFactory::class)->get('sharing')->t('Share not found.'));
}
}