(msg string, args ...any)
| 12 | ) |
| 13 | |
| 14 | func newSyntaxError(msg string, args ...any) error { |
| 15 | return SyntaxError{errctx.NewTextError( |
| 16 | fmt.Sprintf(msg, args...), |
| 17 | 1, |
| 18 | errctx.WithPublicMessage("SVG syntax error"), |
| 19 | errctx.WithStatusCode(http.StatusUnprocessableEntity), |
| 20 | )} |
| 21 | } |
no test coverage detected