MCPcopy
hub / github.com/jackc/pgx / Error

Method Error

pgconn/errors.go:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (pe *PgError) Error() string {
54 return pe.Severity + ": " + pe.Message + " (SQLSTATE " + pe.Code + ")"
55}
56
57// SQLState returns the SQLState of the error.
58func (pe *PgError) SQLState() string {

Calls

no outgoing calls