nextcloud-server/lib/public/Accounts/PropertyDoesNotExistExcepti...

25 lines
488 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Accounts;
/**
* Class PropertyDoesNotExistException
*
* @since 15.0.0
*
*/
class PropertyDoesNotExistException extends \Exception {
/**
* Constructor
* @param string $msg the error message
* @since 15.0.0
*/
public function __construct($property) {
parent::__construct('Property ' . $property . ' does not exist.');
}
}