Sha256: 6216c463248c4d2080ffbf2c9efdfb08acd2d403400ec74f80c465ceaf574528

Contents?: true

Size: 710 Bytes

Versions: 11

Compression:

Stored size: 710 Bytes

Contents

module HTTPX
  class Error < StandardError
  end

  class TimeoutError < Error
    attr_reader timeout: Numeric

    def to_connection_error: () -> ConnectTimeoutError
    private

    def initialize: (Numeric timeout, String message) -> untyped
  end

  class TotalTimeoutError < TimeoutError
  end

  class ConnectTimeoutError < TimeoutError
  end

  class SettingsTimeoutError < TimeoutError
  end

  class ResolveTimeoutError < TimeoutError
  end

  class ResolveError < Error
  end

  class NativeResolveError < ResolveError
    attr_reader connection: Connection
    attr_reader host: String

    private

    def initialize: (Connection connection, String hostname, ?String message) -> untyped
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
httpx-0.18.7 sig/errors.rbs
httpx-0.18.6 sig/errors.rbs
httpx-0.18.5 sig/errors.rbs
httpx-0.18.4 sig/errors.rbs
httpx-0.18.3 sig/errors.rbs
httpx-0.18.2 sig/errors.rbs
httpx-0.18.1 sig/errors.rbs
httpx-0.18.0 sig/errors.rbs
httpx-0.17.0 sig/errors.rbs
httpx-0.16.1 sig/errors.rbs
httpx-0.16.0 sig/errors.rbs