mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
deprecating ErrorResponse#status
This commit is contained in:
parent
f768cf7a0e
commit
a31a315e08
@ -317,6 +317,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def status
|
||||
warn ":#{__method__} is deprecated, use :error.message instead"
|
||||
@error.message
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user