summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/exceptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/lib/exceptions.php')
-rw-r--r--apps/files_encryption/lib/exceptions.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/exceptions.php b/apps/files_encryption/lib/exceptions.php
index a409b0f0fb2..3ea27faf406 100644
--- a/apps/files_encryption/lib/exceptions.php
+++ b/apps/files_encryption/lib/exceptions.php
@@ -22,6 +22,15 @@
namespace OCA\Encryption\Exceptions;
+/**
+ * General encryption exception
+ * Possible Error Codes:
+ * 10 - unexpected end of encryption header
+ * 20 - unexpected blog size
+ * 30 - encryption header to large
+ * 40 - unknown cipher
+ * 50 - encryption failed
+ */
class EncryptionException extends \Exception {
}