class EasyPing::HTTPClientError
Wrap Faraday client error
Public Class Methods
new(exception)
click to toggle source
Calls superclass method
# File lib/easy_ping/error.rb, line 10 def initialize(exception) @exception = exception super(exception.message) end
Public Instance Methods
backtrace()
click to toggle source
Calls superclass method
# File lib/easy_ping/error.rb, line 15 def backtrace if @exception @exception.backtrace else super end end