type github.com/lib/pq.Error
10 uses
github.com/lib/pq (current package)
error.go#L25: type Error struct {
error.go#L356: func parseError(r *readBuf) *Error {
error.go#L357: err := new(Error)
error.go#L401: func (err *Error) Fatal() bool {
error.go#L407: func (err *Error) Get(k byte) (v string) {
error.go#L447: func (err Error) Error() string {
error.go#L489: case *Error:
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L191: if pgErr, ok := err.(*pq.Error); ok {
postgres.go#L289: if e, ok := err.(*pq.Error); ok {
golang.org/x/pkgsite/internal/database
database.go#L226: var perr *pq.Error
![]() |
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. |