MCPcopy
hub / github.com/aio-libs/aiohttp / throw

Method throw

aiohttp/client.py:502–508  ·  view source on GitHub ↗
(self, typ, val=None, tb=None)

Source from the content-addressed store, hash-verified

500 return self._coro.send(value)
501
502 def throw(self, typ, val=None, tb=None):
503 if val is None:
504 return self._coro.throw(typ)
505 elif tb is None:
506 return self._coro.throw(typ, val)
507 else:
508 return self._coro.throw(typ, val, tb)
509
510 def close(self):
511 return self._coro.close()

Callers 8

write_bytesMethod · 0.80
feed_eofMethod · 0.80
unset_parserMethod · 0.80
write_eofMethod · 0.80
test_lines_parserFunction · 0.80
test_chunks_parserFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_lines_parserFunction · 0.64
test_chunks_parserFunction · 0.64