Method: HTTPX::Connection::HTTP2#handle_error

Defined in:
lib/httpx/connection/http2.rb

#handle_error(ex) ⇒ Object



88
89
90
91
92
# File 'lib/httpx/connection/http2.rb', line 88

def handle_error(ex)
  @streams.each_key do |request|
    emit(:error, request, ex)
  end
end