Method: EasyPing::HTTPClientError#initialize

Defined in:
lib/easy_ping/error.rb

#initialize(exception) ⇒ HTTPClientError

Returns a new instance of HTTPClientError.



10
11
12
13
# File 'lib/easy_ping/error.rb', line 10

def initialize(exception)
  @exception = exception
  super(exception.message)
end