Exception: Vault::Rails::UnknownSerializerError

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

Instance Method Summary collapse

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