MCPcopy
hub / github.com/sqlc-dev/sqlc / Error

Method Error

internal/sql/sqlerr/errors.go:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func (e *Error) Error() string {
27 if e.Err != nil {
28 return fmt.Sprintf("%s %s", e.Message, e.Err.Error())
29 } else {
30 return e.Message
31 }
32}
33
34func ColumnExists(rel, col string) *Error {
35 return &Error{

Calls

no outgoing calls