github.com/lib/pq.Error.Code (field)
5 uses
github.com/lib/pq (current package)
error.go#L27: Code ErrorCode
error.go#L364: err.Code = ErrorCode(msg)
error.go#L412: return string(err.Code)
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L290: if e.Code.Name() == "undefined_table" {
golang.org/x/pkgsite/internal/database
database.go#L227: if errors.As(err, &perr) && perr.Code == serializationFailureCode {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |