Exception: Integrative::Errors::TooLittleRuntimeOptionsError

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, missing_options) ⇒ TooLittleRuntimeOptionsError

Returns a new instance of TooLittleRuntimeOptionsError.



41
42
43
44
45
46
# File 'lib/integrative/errors.rb', line 41

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