aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/output.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-30 23:44:48 +0900
committerOphestra <cat@gensokyo.uk>2025-08-30 23:44:48 +0900
commit712cfc06d7e541c6e28b4b127a4760b4cfccffa8 (patch)
tree3dbd2bc0fc03ba5d108646b342392f5fdf841c90 /container/output.go
parentf5abce9df5727904a1daa246025a87c4bfe62553 (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'container/output.go')
-rw-r--r--container/output.go7
1 files changed, 0 insertions, 7 deletions
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)...)
-}