Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
An exception thrown by Halite when a key is invalid should be translated to a Key exception.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2717053-3.patch | 837 bytes | rlhawk |
Comments
Comment #2
rlhawkAfter thinking about this a bit more, I realized that an Encrypt exception should be thrown instead.
Comment #3
rlhawkHere's a patch that translates a thrown InvalidKey exception from Halite into an EncryptException exception.
Comment #4
tynor CreditAttribution: tynor commentedLooks good to me.
Comment #6
rlhawk