Exception: Integrative::Errors::TooManyRuntimeOptionsError

Inherits:
IntegrationError
  • Object
show all
Defined in:
lib/integrative/errors.rb

Instance Attribute Summary

Attributes inherited from IntegrationError

#integration

Instance Method Summary collapse

Constructor Details

#initialize(integration, unexpected_options) ⇒ TooManyRuntimeOptionsError

Returns a new instance of TooManyRuntimeOptionsError.



32
33
34
35
36
37
# File 'lib/integrative/errors.rb', line 32

def initialize(integration, unexpected_options)
  message = "You used 'integrate' for :#{integration.name}" +
    " on #{integration.integrator_class.name}" +
    " with too many options: #{unexpected_options}"
  super(message, integration)
end