MCPcopy
hub / github.com/pocketbase/pocketbase / Code

Method Code

tools/router/error.go:17–17  ·  view source on GitHub ↗

Code represents a fixed unique identifier of the error (usually used as translation key).

()

Source from the content-addressed store, hash-verified

15type SafeErrorItem interface {
16 // Code represents a fixed unique identifier of the error (usually used as translation key).
17 Code() string
18
19 // Error is the default English human readable error message that will be returned.
20 Error() string

Callers 2

resolveSafeErrorItemFunction · 0.65

Implementers 2

mockSafeErrorItemtools/router/error_test.go
BatchResponseErrorapis/batch.go

Calls

no outgoing calls

Tested by 1