Exception: Capybara::Poltergeist::StatusFailError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#details ⇒ Object
65
66
67
|
# File 'lib/capybara/poltergeist/errors.rb', line 65
def details
response['args'][1]
end
|
#message ⇒ Object
69
70
71
72
73
|
# File 'lib/capybara/poltergeist/errors.rb', line 69
def message
msg = "Request to '#{url}' failed to reach server, check DNS and/or server status"
msg += " - #{details}" if details
msg
end
|
#url ⇒ Object
61
62
63
|
# File 'lib/capybara/poltergeist/errors.rb', line 61
def url
response['args'].first
end
|