(cause error)
| 30 | ) |
| 31 | |
| 32 | func NewResponseWriteError(cause error) errctx.Error { |
| 33 | return ResponseWriteError{errctx.NewWrappedError( |
| 34 | cause, |
| 35 | 1, |
| 36 | errctx.WithPrefix("failed to write response"), |
| 37 | errctx.WithPublicMessage("Failed to write response"), |
| 38 | )} |
| 39 | } |
| 40 | |
| 41 | func newInvalidURLErrorf(docsUrl string, status int, format string, args ...any) errctx.Error { |
| 42 | return InvalidURLError{errctx.NewTextError( |
no test coverage detected