MCPcopy Create free account
hub / github.com/go-pg/pg / Error

Method Error

internal/error.go:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (err Error) Error() string {
21 return err.s
22}
23
24type PGError struct {
25 m map[byte]string

Callers 15

TestParseURLFunction · 0.45
TestLoaderErrorMethod · 0.45
readDataRowFunction · 0.45
AssertMethod · 0.45
TestEmptyQueryFunction · 0.45
TestAnonymousStructFieldFunction · 0.45
TestContextCanceledFunction · 0.45
db_test.goFile · 0.45
listener_test.goFile · 0.45
TestClosedDBMethod · 0.45
TestClosedListenerMethod · 0.45
TestClosedTxMethod · 0.45

Implementers 2

mockPGErrorbase_test.go
PGErrorinternal/error.go

Calls

no outgoing calls

Tested by 10

TestParseURLFunction · 0.36
TestLoaderErrorMethod · 0.36
AssertMethod · 0.36
TestEmptyQueryFunction · 0.36
TestAnonymousStructFieldFunction · 0.36
TestContextCanceledFunction · 0.36
TestClosedDBMethod · 0.36
TestClosedListenerMethod · 0.36
TestClosedTxMethod · 0.36
TestClosedStmtMethod · 0.36