sig/errors.rbs in httpx-0.20.5 vs sig/errors.rbs in httpx-0.21.0

- old
+ new

@@ -21,9 +21,22 @@ 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 \ No newline at end of file