JobIsMissingParameterErrorCode returns whether the error is a missing parameter error. This can indicate to consumers that they should check parameters.
(code JobErrorCode)
| 173 | // JobIsMissingParameterErrorCode returns whether the error is a missing parameter error. |
| 174 | // This can indicate to consumers that they should check parameters. |
| 175 | func JobIsMissingParameterErrorCode(code JobErrorCode) bool { |
| 176 | return string(code) == runner.MissingParameterErrorCode |
| 177 | } |
| 178 | |
| 179 | // JobIsMissingRequiredTemplateVariableErrorCode returns whether the error is a missing a required template |
| 180 | // variable error. This can indicate to consumers that they need to provide required template variables. |
no outgoing calls
no test coverage detected