Exception: HTTPX::Connection::HTTP2::Error
- Defined in:
- lib/httpx/connection/http2.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(id, code) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(id, code) ⇒ Error
Returns a new instance of Error.
14 15 16 |
# File 'lib/httpx/connection/http2.rb', line 14 def initialize(id, code) super("stream #{id} closed with error: #{code}") end |