Method: HTTPX::Connection::HTTP2#handle_error

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

#handle_error(ex) ⇒ Object



72
73
74
75
76
# File 'lib/httpx/connection/http2.rb', line 72

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