Introduce error hierarchy, PGBaseError, PGIOException
By leveraging an exception hierarchy, users can catch *any* PG2 related error by catching `PGBaseError`, or can differentiate based on a problem with the connection (PGIOException), a server-sent error message (PGErrorResponse), or a client-side error (PGError).
合并状态:已合并 合并于 2025-02-06 关闭于 2025-02-06 2 条评论