MCPcopy
hub / github.com/pocketbase/pocketbase / RawData

Method RawData

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

RawData returns the unformatted error data (could be an internal error, text, etc.)

()

Source from the content-addressed store, hash-verified

48
49// RawData returns the unformatted error data (could be an internal error, text, etc.)
50func (e *ApiError) RawData() any {
51 return e.rawData
52}
53
54// Is reports whether the current ApiError wraps the target.
55func (e *ApiError) Is(target error) bool {

Callers 4

logRequestFunction · 0.80
TestBindApisErrorsFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestBindApisErrorsFunction · 0.64