mirror of
https://github.com/nextcloud/server.git
synced 2024-12-28 07:58:42 +00:00
9836e9b164
Signed-off-by: provokateurin <kate@provokateurin.de>
24 lines
536 B
PHP
24 lines
536 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OCP;
|
|
|
|
/**
|
|
* Exception for when a not allowed path is attempted to be autoloaded
|
|
* @since 8.2.0
|
|
*/
|
|
class AutoloadNotAllowedException extends \DomainException {
|
|
/**
|
|
* @param string $path
|
|
* @since 8.2.0
|
|
*/
|
|
public function __construct($path) {
|
|
parent::__construct('Autoload path not allowed: ' . $path);
|
|
}
|
|
}
|