Sha256: 0452e746f3da2d43a639ac866e6a4c236b9dffd8404d55a1d82cc50d2878d0b1
Contents?: true
Size: 1.13 KB
Versions: 8
Compression:
Stored size: 1.13 KB
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 RequestTimeoutError < TimeoutError attr_reader request: Request attr_reader response: response? def initialize: (Request request, response? response, Numeric timeout) -> void end class ReadTimeoutError < RequestTimeoutError end class WriteTimeoutError < RequestTimeoutError end class ResolveError < Error end class HTTPError < Error attr_reader response: Response private def initialize: (Response response) -> void 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
8 entries across 8 versions & 1 rubygems