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/errors_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'container/errors_test.go') diff --git a/container/errors_test.go b/container/errors_test.go index df69c4b1..45a5fcde 100644 --- a/container/errors_test.go +++ b/container/errors_test.go @@ -162,3 +162,6 @@ func TestErrnoFallback(t *testing.T) { }) } } + +// InternalMessageFromError exports messageFromError for other tests. +func InternalMessageFromError(err error) (string, bool) { return messageFromError(err) } -- cgit v1.3.1