From 712cfc06d7e541c6e28b4b127a4760b4cfccffa8 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 30 Aug 2025 23:44:48 +0900 Subject: container: wrap container init start errors This helps indicate the exact origin and nature of the error. This eliminates generic WrapErr from container. Signed-off-by: Ophestra --- container/output.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'container/output.go') diff --git a/container/output.go b/container/output.go index 4fd9f095..50da335c 100644 --- a/container/output.go +++ b/container/output.go @@ -10,10 +10,3 @@ func SetOutput(v Msg) { msg = v } } - -func wrapErrSuffix(err error, a ...any) error { - if err == nil { - return nil - } - return msg.WrapErr(err, append(a, err)...) -} -- cgit v1.3.1