diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-30 23:44:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-30 23:44:48 +0900 |
| commit | 712cfc06d7e541c6e28b4b127a4760b4cfccffa8 (patch) | |
| tree | 3dbd2bc0fc03ba5d108646b342392f5fdf841c90 /container/errors_test.go | |
| parent | f5abce9df5727904a1daa246025a87c4bfe62553 (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/errors_test.go')
| -rw-r--r-- | container/errors_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) } |
