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.



21
22
23
24
25
# File 'lib/vault/rails/errors.rb', line 21

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