sig/response.rbs in httpx-0.17.0 vs sig/response.rbs in httpx-0.18.0
- old
+ new
@@ -1,8 +1,10 @@
module HTTPX
interface _Response
- def raise_for_status: () -> void
+ def raise_for_status: () -> self
+
+ def error: () -> StandardError?
end
class Response
extend Forwardable
@@ -87,10 +89,9 @@
include Loggable
@options: Options
attr_reader request: Request
- attr_reader error: Exception
def status: () -> (Integer | _ToS)
private
\ No newline at end of file