Exception: AutomationObject::Dsl::Error::ScreenDoesNotExistError

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

Overview

Error for non-existent screen

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ScreenDoesNotExistError

Returns a new instance of ScreenDoesNotExistError

Parameters:

  • name (Symbol, String)

    screen name



10
11
12
13
# File 'lib/automation_object/dsl/_error.rb', line 10

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