mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 22:03:27 -04:00
Move UserMigrationException to OCP and add @throws documentation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
a74248b0a0
commit
d8b2d32a5e
2 changed files with 32 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ interface IMigrator {
|
|||
/**
|
||||
* Export user data
|
||||
*
|
||||
* @throws UserMigrationException
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function export(
|
||||
|
|
@ -49,6 +50,7 @@ interface IMigrator {
|
|||
/**
|
||||
* Import user data
|
||||
*
|
||||
* @throws UserMigrationException
|
||||
* @since 24.0.0
|
||||
*/
|
||||
public function import(
|
||||
|
|
|
|||
30
lib/public/UserMigration/UserMigrationException.php
Normal file
30
lib/public/UserMigration/UserMigrationException.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2022 Côme Chilliet <come.chilliet@nextcloud.com>
|
||||
*
|
||||
* @author Côme Chilliet <come.chilliet@nextcloud.com>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace OCP\UserMigration;
|
||||
|
||||
class UserMigrationException extends \Exception {
|
||||
}
|
||||
Loading…
Reference in a new issue