MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / with_msg

Method with_msg

asyncpg/exceptions/_base.py:215–222  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

213 Exception.__init__(self, msg)
214
215 def with_msg(self, msg):
216 return type(self)(
217 msg,
218 detail=self.detail,
219 hint=self.hint,
220 ).with_traceback(
221 self.__traceback__
222 )
223
224
225class ClientConfigurationError(InterfaceError, ValueError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected