Go · 309 bytes Raw Blame History
1 // SPDX-License-Identifier: AGPL-3.0-or-later
2
3 package orgs
4
5 import "github.com/jackc/pgx/v5/pgconn"
6
7 // pgconnError aliases pgconn.PgError so create.go's isUniqueViolation
8 // helper can errors.As to a private name without leaking the import
9 // to every file in the package.
10 type pgconnError = pgconn.PgError
11