wrongSubDirectiveError returns a nice error message.
(module string, allowedDirectives string, wrongValue string)
| 31 | |
| 32 | // wrongSubDirectiveError returns a nice error message. |
| 33 | func wrongSubDirectiveError(module string, allowedDirectives string, wrongValue string) error { |
| 34 | return fmt.Errorf("unknown %q subdirective: %s (allowed directives are: %s)", module, wrongValue, allowedDirectives) |
| 35 | } |
no outgoing calls
no test coverage detected