diff options
author | Robin Appelman <robin@icewind.nl> | 2025-05-09 16:37:06 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2025-05-09 22:33:45 +0200 |
commit | b0b8159d6a3777c1c7b9cfa1c5e74974b5c0273c (patch) | |
tree | e91fc980d304289a4a5ca0dd3ada4c8c9d3a9f54 /lib/public | |
parent | c7430d5cb806ac2cf84d2e6e7ae1da3f50375828 (diff) | |
download | nextcloud-server-encryption-no-header-size-error.tar.gz nextcloud-server-encryption-no-header-size-error.zip |
fix: throw a better error if we can't get the encrypted header sizeencryption-no-header-size-error
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Encryption/Exceptions/InvalidHeaderException.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Encryption/Exceptions/InvalidHeaderException.php b/lib/public/Encryption/Exceptions/InvalidHeaderException.php new file mode 100644 index 00000000000..f7213577fb6 --- /dev/null +++ b/lib/public/Encryption/Exceptions/InvalidHeaderException.php @@ -0,0 +1,17 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OCP\Encryption\Exceptions; + +use OCP\HintException; + +/** + * Class InvalidHeaderException + * + * @since 32.0.0 + */ +class InvalidHeaderException extends HintException { +} |