aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AutoloadNotAllowedException.php
blob: 6e897b49406cf27b06afc944e7aa929cce5f9fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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);
	}
}