Exception: Alchemrest::NoTransformOptionForNameError
- Defined in:
- lib/alchemrest/error.rb
Instance Method Summary collapse
-
#initialize(from:, to:, name:, options:) ⇒ NoTransformOptionForNameError
constructor
A new instance of NoTransformOptionForNameError.
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: #{.keys.join(', ')}") end |