MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Error

Method Error

IceFireDB-SQLite/pkg/mysql/mysql/error.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (e *MyError) Error() string {
23 return fmt.Sprintf("ERROR %d (%s): %s", e.Code, e.State, e.Message)
24}
25
26// NewDefaultError: default mysql error, must adapt errname message format
27func NewDefaultError(errCode uint16, args ...any) *MyError {

Callers 15

TestSKeyExistsFunction · 0.45
TestKVFunction · 0.45
TestKVIncrDecrFunction · 0.45
PersistMethod · 0.45
AdvertiseConnectMethod · 0.45
AnnounceConnectMethod · 0.45
setupHostFunction · 0.45
setupKadDHTFunction · 0.45
setupPubSubFunction · 0.45
bootstrapDHTFunction · 0.45
generateCIDFunction · 0.45
pingMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestSKeyExistsFunction · 0.36
TestKVFunction · 0.36
TestKVIncrDecrFunction · 0.36
TestReadAuthDataFunction · 0.36
TestErrorHandlingFunction · 0.36
goStringsFunction · 0.36
okFunction · 0.36
mustFailFunction · 0.36
directDoIntFunction · 0.36
goStringsFunction · 0.36
okFunction · 0.36
mustFailFunction · 0.36