(self)
| 154 | return exccls, message, dct |
| 155 | |
| 156 | def as_dict(self): |
| 157 | dct = {} |
| 158 | for f in type(self)._field_map.values(): |
| 159 | val = getattr(self, f) |
| 160 | if val is not None: |
| 161 | dct[f] = val |
| 162 | return dct |
| 163 | |
| 164 | |
| 165 | class PostgresError(PostgresMessage, Exception): |
no outgoing calls