MCPcopy
hub / github.com/dnote/dnote / PublicError

Interface PublicError

pkg/server/views/data.go:163–166  ·  view source on GitHub ↗

PublicError is an error meant to be displayed to the public

Source from the content-addressed store, hash-verified

161
162// PublicError is an error meant to be displayed to the public
163type PublicError interface {
164 error
165 Public() string
166}

Callers 3

handleJSONErrorFunction · 0.65
getErrMessageFunction · 0.65
SetAlertMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected