MCPcopy
hub / github.com/pocketbase/pocketbase / Error

Method Error

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

Error makes it compatible with the `error` interface.

()

Source from the content-addressed store, hash-verified

43
44// Error makes it compatible with the `error` interface.
45func (e *ApiError) Error() string {
46 return e.Message
47}
48
49// RawData returns the unformatted error data (could be an internal error, text, etc.)
50func (e *ApiError) RawData() any {

Callers 2

Calls

no outgoing calls

Tested by 2