Exception: AutomationObject::Dsl::Error::ElementHashDoesNotExistError

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

Overview

Error for non-existent element hash

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ElementHashDoesNotExistError

Returns a new instance of ElementHashDoesNotExistError

Parameters:

  • name (Symbol, String)

    element hash name



28
29
30
31
# File 'lib/automation_object/dsl/_error.rb', line 28

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