mirror of
https://github.com/nextcloud/server.git
synced 2026-11-02 20:11:47 +01:00
28 lines
587 B
PHP
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.'));
|
|
}
|
|
}
|