Exception: Pebblebed::HttpTransportError
- Inherits:
-
StandardError
- Object
- StandardError
- Pebblebed::HttpTransportError
- Defined in:
- lib/pebblebed/http.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(message, exception, url) ⇒ HttpTransportError
constructor
A new instance of HttpTransportError.
Constructor Details
#initialize(message, exception, url) ⇒ HttpTransportError
Returns a new instance of HttpTransportError.
41 42 43 44 45 |
# File 'lib/pebblebed/http.rb', line 41 def initialize(, exception, url) super() set_backtrace(exception.backtrace) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
47 48 49 |
# File 'lib/pebblebed/http.rb', line 47 def url @url end |