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

Method __str__

asyncpg/exceptions/_base.py:274–275  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 """A base class for non-error server messages."""
273
274 def __str__(self):
275 return '{}: {}'.format(type(self).__name__, self.message)
276
277 def __setattr__(self, name, val):
278 raise TypeError('instances of {} are immutable'.format(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected