Exception: Alchemrest::NoTransformOptionForNameError

Inherits:
Error
  • Object
show all
Defined in:
lib/alchemrest/error.rb

Instance Method Summary collapse

Methods inherited from Error

#deconstruct, #deconstruct_keys

Constructor Details

#initialize(from:, to:, name:, options:) ⇒ NoTransformOptionForNameError

Returns a new instance of NoTransformOptionForNameError.



118
119
120
# File 'lib/alchemrest/error.rb', line 118

def initialize(from:, to:, name:, options:)
  super("No transform named #{name} for #{from.output_type_name} -> #{to}. Available options: #{options.keys.join(', ')}")
end