Exception: Vault::Rails::UnknownSerializerError
- Inherits:
-
VaultRailsError
- Object
- RuntimeError
- VaultRailsError
- Vault::Rails::UnknownSerializerError
- Defined in:
- lib/vault/rails/errors.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ UnknownSerializerError
constructor
A new instance of UnknownSerializerError.
Constructor Details
#initialize(key) ⇒ UnknownSerializerError
Returns a new instance of UnknownSerializerError.
9 10 11 12 13 14 15 16 17 |
# File 'lib/vault/rails/errors.rb', line 9 def initialize(key) super <<-EOH Unknown Vault serializer `:#{key}'. Valid serializers are: #{SERIALIZERS.keys.sort.map(&:inspect).join(", ")} Please refer to the documentation for more examples. EOH end |