MCPcopy Create free account
hub / github.com/compozy/agh / nativeResourceToolError

Function nativeResourceToolError

internal/daemon/native_bundle_resource_tools.go:468–470  ·  view source on GitHub ↗
(id toolspkg.ToolID, err error)

Source from the content-addressed store, hash-verified

466}
467
468func nativeResourceToolError(id toolspkg.ToolID, err error) error {
469 return nativeHTTPStatusToolError(id, err, core.StatusForResourceError(err))
470}
471
472func nativeHTTPStatusToolError(id toolspkg.ToolID, err error, status int) error {
473 code := toolspkg.ErrorCodeBackendFailed

Callers 5

resourcesListMethod · 0.85
resourcesInfoMethod · 0.85
resourcesSnapshotMethod · 0.85
decodeResourceInfoInputFunction · 0.85

Calls 2

StatusForResourceErrorFunction · 0.92

Tested by

no test coverage detected