Exception: AutomationObject::Dsl::Error::ElementArrayDoesNotExistError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/automation_object/dsl/_error.rb

Overview

Error for non-existent element array

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ElementArrayDoesNotExistError

Returns a new instance of ElementArrayDoesNotExistError

Parameters:

  • name (Symbol, String)

    element array name



37
38
39
40
# File 'lib/automation_object/dsl/_error.rb', line 37

def initialize(name)
  message = "#{name} element array does not exist"
  super(message)
end