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

Function newErrPreprocessingBatch

batch.go:520–522  ·  view source on GitHub ↗
(step, sql string, err error)

Source from the content-addressed store, hash-verified

518}
519
520func newErrPreprocessingBatch(step, sql string, err error) ErrPreprocessingBatch {
521 return ErrPreprocessingBatch{step: step, sql: sql, err: err}
522}
523
524func (e ErrPreprocessingBatch) Error() string {
525 // intentionally not including the SQL query in the error message

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected