From 431d5f2eae378bc7ff62bd5ddc553f3768aac9b9 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 19:17:28 +0800 Subject: all: Remove error wrapping I'm undecided on how I wrap errors in this project. I'll just return errors directly for now. This will probably be adjusted later. --- http_server.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'http_server.go') diff --git a/http_server.go b/http_server.go index 9c06ab0..2a92f76 100644 --- a/http_server.go +++ b/http_server.go @@ -213,5 +213,3 @@ func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) { } } } - -var err_bad_request = errors.New("bad request") -- cgit v1.2.3