Exception: Vault::Rails::InvalidCiphertext
- Inherits:
-
VaultRailsError
- Object
- RuntimeError
- VaultRailsError
- Vault::Rails::InvalidCiphertext
- Defined in:
- lib/vault/rails/errors.rb
Instance Method Summary collapse
-
#initialize(ciphertext) ⇒ InvalidCiphertext
constructor
A new instance of InvalidCiphertext.
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 |