Exception: Seahorse::Client::Http2InitialRequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/seahorse/client/networking_error.rb

Overview

Raised when sending initial headers and data failed for event stream requests over Http2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ Http2InitialRequestError

Returns a new instance of Http2InitialRequestError.


21
22
23
# File 'lib/seahorse/client/networking_error.rb', line 21

def initialize(error)
  @original_error = error
end

Instance Attribute Details

#original_errorHTTP2::Error (readonly)

Returns:

  • (HTTP2::Error)

26
27
28
# File 'lib/seahorse/client/networking_error.rb', line 26

def original_error
  @original_error
end