MCPcopy Create free account
hub / github.com/EasyIME/PIME / rethrow

Method rethrow

python/python3/tornado/httpclient.py:680–683  ·  view source on GitHub ↗

If there was an error on the request, raise an `HTTPError`.

(self)

Source from the content-addressed store, hash-verified

678 return self._body
679
680 def rethrow(self) -> None:
681 """If there was an error on the request, raise an `HTTPError`."""
682 if self.error:
683 raise self.error
684
685 def __repr__(self) -> str:
686 args = ",".join("%s=%r" % i for i in sorted(self.__dict__.items()))

Callers 15

test_openid_get_userMethod · 0.80
test_oauth10_get_userMethod · 0.80
test_twitter_get_userMethod · 0.80
test_chunked_closeMethod · 0.80
test_put_307Method · 0.80
test_non_ascii_headerMethod · 0.80

Calls

no outgoing calls

Tested by 15

test_openid_get_userMethod · 0.64
test_oauth10_get_userMethod · 0.64
test_twitter_get_userMethod · 0.64
test_chunked_closeMethod · 0.64
test_put_307Method · 0.64
test_non_ascii_headerMethod · 0.64