(id toolspkg.ToolID, field string)
| 4929 | } |
| 4930 | |
| 4931 | func nativeScopeMismatchError(id toolspkg.ToolID, field string) error { |
| 4932 | return toolspkg.NewToolError( |
| 4933 | toolspkg.ErrorCodeDenied, |
| 4934 | id, |
| 4935 | fmt.Sprintf("tool %q call %s conflicts with caller scope", id, field), |
| 4936 | toolspkg.ErrToolDenied, |
| 4937 | toolspkg.ReasonScopeMismatch, |
| 4938 | ) |
| 4939 | } |
| 4940 | |
| 4941 | func (n *daemonNativeTools) nativeNetworkWorkspaceID( |
| 4942 | ctx context.Context, |
no outgoing calls
no test coverage detected