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.214.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.213.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.212.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.211.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.210.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.209.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.209.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.208.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.207.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.206.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.205.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.204.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.203.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.202.2 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.202.1 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.202.0 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.201.5 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.201.4 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.201.3 lib/seahorse/client/networking_error.rb
aws-sdk-core-3.201.2 lib/seahorse/client/networking_error.rb