1
0

PropertyDoesNotExistException.php 487 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Accounts;
  7. /**
  8. * Class PropertyDoesNotExistException
  9. *
  10. * @since 15.0.0
  11. *
  12. */
  13. class PropertyDoesNotExistException extends \Exception {
  14. /**
  15. * Constructor
  16. * @param string $msg the error message
  17. * @since 15.0.0
  18. */
  19. public function __construct($property) {
  20. parent::__construct('Property ' . $property . ' does not exist.');
  21. }
  22. }