Sha256: 7cf2735fe8b63080d4abd5593d49254a2025097f8dddb1b9ae7db3b62d222a16

Contents?: true

Size: 990 Bytes

Versions: 190

Compression:

Stored size: 990 Bytes

Contents

# frozen_string_literal: true

module Seahorse
  module Client
    class NetworkingError < StandardError

      def initialize(error, msg = nil)
        super(msg || error.message)
        set_backtrace(error.backtrace)
        @original_error = error
      end

      attr_reader :original_error

    end

    # Raised when sending initial headers and data failed
    # for event stream requests over Http2
    class Http2InitialRequestError < StandardError

      def initialize(error)
        @original_error = error
      end

      # @return [HTTP2::Error]
      attr_reader :original_error

    end

    # Raised when connection failed to initialize a new stream
    class Http2StreamInitializeError < StandardError

      def initialize(error)
        @original_error = error
      end

      # @return [HTTP2::Error]
      attr_reader :original_error

    end

    # Rasied when trying to use an closed connection
    class Http2ConnectionClosedError < StandardError; end
  end
end

Version data entries

190 entries across 190 versions & 1 rubygems

Version Path
aws-sdk-core-3.201.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.201.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.200.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.199.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.198.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.197.2 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.197.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.197.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.194.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.194.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.193.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.192.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.192.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.6 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.5 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.4 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.3 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.2 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.191.0 lib/seahorse/client/networking_error.rb