Exception: HTTPX::Connection::HTTP2::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/httpx/connection/http2.rb

Direct Known Subclasses

GoawayError

Instance Method Summary collapse

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