Exception: WaitingForElementFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cuke-pack/support/wait_for.rb

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ WaitingForElementFailure

Returns a new instance of WaitingForElementFailure.



35
36
37
# File 'lib/cuke-pack/support/wait_for.rb', line 35

def initialize(code)
  @code = code
end

Instance Method Details

#backtraceObject



43
44
45
# File 'lib/cuke-pack/support/wait_for.rb', line 43

def backtrace
  []
end

#messageObject



39
40
41
# File 'lib/cuke-pack/support/wait_for.rb', line 39

def message
  @code
end