From 03178f59e6be4ed036a876040d4bf53079cf2bad Mon Sep 17 00:00:00 2001 From: mstar Date: Fri, 11 Apr 2025 11:11:54 +0200 Subject: [PATCH] Note about http errors --- Code-Style.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Code-Style.md b/Code-Style.md index e4cd520..5343484 100644 --- a/Code-Style.md +++ b/Code-Style.md @@ -17,6 +17,7 @@ and given appropriate descriptive information _or_ return an error defined (as public variable) in that package. Example: `other.Error("auth", "failed to do something important", originalError)` +- Returned http errors must use `git.mstar.dev/mstar/goutils/webutils.ProblemDetails(StatusOnly)`. ## JS/TS