aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Common/Exception/NotFoundException.php
blob: d4922ae8734e957b108d2e0a9d830e68ae60084f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-only
 */
namespace OCP\Common\Exception;

/**
 * This is thrown whenever something was expected to exist but doesn't
 *
 * @since 27.1.0
 */
class NotFoundException extends \Exception {
	/**
	 * Constructor
	 * @param string $msg the error message
	 * @since 27.1.0
	 */
	public function __construct(string $msg) {
		parent::__construct($msg);
	}
}