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

Method Error

internal/multierr/error.go:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (e *Error) Error() string {
47 return fmt.Sprintf("multiple errors: %d errors", len(e.errs))
48}
49
50func New() *Error {
51 return &Error{}

Callers 15

TestUpdateErrorsFunction · 0.95
extractSqlErrMethod · 0.95
toColumnFunction · 0.45
normalizeErrFunction · 0.45
TestFormatFunction · 0.45
TestJsonSchemaFunction · 0.45
VerifyFunction · 0.45
createdb.goFile · 0.45
TestParseQueryParamsFunction · 0.45
NewStreamMethod · 0.45
InvokeMethod · 0.45

Calls

no outgoing calls

Tested by 12

TestUpdateErrorsFunction · 0.76
TestFormatFunction · 0.36
TestJsonSchemaFunction · 0.36
TestParseQueryParamsFunction · 0.36
TestTypeOverridesFunction · 0.36
TestBadConfigsFunction · 0.36
runOnDeckQueriesFunction · 0.36
runOnDeckQueriesFunction · 0.36
runOnDeckQueriesFunction · 0.36
TestBatchBooksFunction · 0.36