Update pydoc to mention response.rethrow instead of reraise.
This commit is contained in:
parent
9e965556ff
commit
b0578819e1
|
@ -180,7 +180,7 @@ class AsyncHTTPClient(object):
|
|||
|
||||
If an error occurs during the fetch, the HTTPResponse given to the
|
||||
callback has a non-None error attribute that contains the exception
|
||||
encountered during the request. You can call response.reraise() to
|
||||
encountered during the request. You can call response.rethrow() to
|
||||
throw the exception (if any) in the callback.
|
||||
"""
|
||||
if not isinstance(request, HTTPRequest):
|
||||
|
|
Loading…
Reference in New Issue