We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f63c3f commit 2e871d2Copy full SHA for 2e871d2
2 files changed
system/Encryption/Exceptions/EncryptionException.php
@@ -82,4 +82,14 @@ public static function forEncryptionFailed()
82
{
83
return new static(lang('Encryption.encryptionFailed'));
84
}
85
+
86
+ /**
87
+ * Thrown during data decryption when a problem or error occurred.
88
+ *
89
+ * @return static
90
+ */
91
+ public static function forDecryptionFailed()
92
+ {
93
+ return new static(lang('Encryption.decryptionFailed'));
94
+ }
95
system/Language/en/Encryption.php
@@ -19,4 +19,5 @@
19
'starterKeyNeeded' => 'Encrypter needs a starter key.',
20
'authenticationFailed' => 'Decrypting: authentication failed.',
21
'encryptionFailed' => 'Encryption failed.',
22
+ 'decryptionFailed' => 'Decryption failed.',
23
];
0 commit comments