(ctx context.Context)
| 69 | } |
| 70 | |
| 71 | func newSecurityOptionsError(ctx context.Context) error { |
| 72 | return SecurityOptionsError{errctx.NewTextError( |
| 73 | "Security processing options are not allowed", |
| 74 | 1, |
| 75 | errctx.WithStatusCode(http.StatusForbidden), |
| 76 | errctx.WithPublicMessage("Invalid URL"), |
| 77 | errctx.WithDocsURL(errctx.DocsBaseURL(ctx, defaultDocsUrl)), |
| 78 | errctx.WithShouldReport(false), |
| 79 | )} |
| 80 | } |
| 81 | |
| 82 | // newInvalidArgsError creates a standardized error for invalid arguments |
| 83 | func newInvalidArgsError(ctx context.Context, key string, args []string) error { |
no test coverage detected