0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-15 00:43:23 +00:00
nextcloud_server/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
513 B
PHP
Raw Normal View History

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OC\Encryption\Exceptions;
2015-04-01 14:36:08 +00:00
use OCP\Encryption\Exceptions\GenericEncryptionException;
2015-04-01 14:36:08 +00:00
class EncryptionHeaderKeyExistsException extends GenericEncryptionException {
/**
* @param string $key
*/
public function __construct($key) {
parent::__construct('header key "' . $key . '" already reserved by ownCloud');
}
}