Exception: EasyPing::HTTPClientError
- Defined in:
- lib/easy_ping/error.rb
Overview
Wrap Faraday client error
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(exception) ⇒ HTTPClientError
constructor
A new instance of HTTPClientError.
Methods inherited from Error
Constructor Details
#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.) end |
Instance Method Details
#backtrace ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/easy_ping/error.rb', line 15 def backtrace if @exception @exception.backtrace else super end end |