diff options
Diffstat (limited to 'lib/private/ForbiddenException.php')
-rw-r--r-- | lib/private/ForbiddenException.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/private/ForbiddenException.php b/lib/private/ForbiddenException.php new file mode 100644 index 00000000000..e65576d27ad --- /dev/null +++ b/lib/private/ForbiddenException.php @@ -0,0 +1,15 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OC; + +/** + * Exception thrown whenever access to a resource has + * been forbidden or whenever a user isn't authenticated. + */ +class ForbiddenException extends \Exception { +} |