(id toolspkg.ToolID, field string)
| 4429 | } |
| 4430 | |
| 4431 | func nativeRequiredInputError(id toolspkg.ToolID, field string) error { |
| 4432 | return toolspkg.NewToolError( |
| 4433 | toolspkg.ErrorCodeInvalidInput, |
| 4434 | id, |
| 4435 | fmt.Sprintf("%s is required", field), |
| 4436 | toolspkg.ErrToolInvalidInput, |
| 4437 | toolspkg.ReasonSchemaInvalid, |
| 4438 | ) |
| 4439 | } |
| 4440 | |
| 4441 | func nativeUnavailableError(id toolspkg.ToolID, message string) error { |
| 4442 | return toolspkg.NewToolError( |
no outgoing calls
no test coverage detected