class PrettyTimeouts::TimeoutError
Attributes
service_name[R]
timeout[R]
url[R]
Public Class Methods
new(service_name, timeout, url)
click to toggle source
# File lib/pretty_timeouts/timeout_error.rb, line 5 def initialize(service_name, timeout, url) @service_name = service_name @timeout = timeout @url = url end
Public Instance Methods
message()
click to toggle source
# File lib/pretty_timeouts/timeout_error.rb, line 11 def message "#{service_name} timeout of #{timeout}s reached attempting to connect to #{url}" end