mirror of
https://github.com/nextcloud/server.git
synced 2025-02-12 12:09:14 +00:00
25 lines
497 B
PHP
25 lines
497 B
PHP
<?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);
|
|
}
|
|
}
|