MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / code

Method code

aiohttp/client_exceptions.py:123–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121
122 @property
123 def code(self) -> int:
124 warnings.warn(
125 "code property is deprecated, use status instead",
126 DeprecationWarning,
127 stacklevel=2,
128 )
129 return self.status
130
131 @code.setter
132 def code(self, value: int) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected