Exception: Vault::Rails::InvalidCiphertext

Inherits:
VaultRailsError show all
Defined in:
lib/vault/rails/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(ciphertext) ⇒ InvalidCiphertext

Returns a new instance of InvalidCiphertext.



18
19
20
21
22
# File 'lib/vault/rails/errors.rb', line 18

def initialize(ciphertext)
  super <<~EOH
    Invalid ciphertext: `#{ciphertext}'.
  EOH
end