MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / NotFoundError

Method NotFoundError

tools/router/event.go:302–304  ·  view source on GitHub ↗
(message string, errData any)

Source from the content-addressed store, hash-verified

300}
301
302func (e *Event) NotFoundError(message string, errData any) *ApiError {
303 return NewNotFoundError(message, errData)
304}
305
306func (e *Event) ForbiddenError(message string, errData any) *ApiError {
307 return NewForbiddenError(message, errData)

Callers 15

TestEventNotFoundErrorFunction · 0.80
logsViewFunction · 0.80
recordAuthRefreshFunction · 0.80
downloadMethod · 0.80
findAuthCollectionFunction · 0.80
recordsListFunction · 0.80
recordViewFunction · 0.80
recordCreateFunction · 0.80
recordUpdateFunction · 0.80
recordDeleteFunction · 0.80
realtimeSetSubscriptionsFunction · 0.80
collectionViewFunction · 0.80

Calls 1

NewNotFoundErrorFunction · 0.70

Tested by 1

TestEventNotFoundErrorFunction · 0.64