0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-19 20:52:07 +00:00
nextcloud_server/lib/public/Files/StorageConnectionException.php

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

27 lines
705 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 OCP\Files;
/**
2015-12-01 17:27:06 +01:00
* Storage authentication exception
* @since 9.0.0
*/
2015-12-01 17:27:06 +01:00
class StorageConnectionException extends StorageNotAvailableException {
/**
2015-12-01 17:27:06 +01:00
* StorageConnectionException constructor.
*
* @param string $message
* @param \Exception|null $previous
* @since 9.0.0
*/
public function __construct($message = '', ?\Exception $previous = null) {
$l = \OCP\Util::getL10N('core');
parent::__construct($l->t('Storage connection error. %s', [$message]), self::STATUS_NETWORK_ERROR, $previous);
}
}