Re:New in Go 1.20: wrapping multiple errors
by cube2222 on Sunday December 11, 2022 @03:59PM
(#33947425)
Unless I'm missing something, you then have to write wrappers that translate between the big and the small interfaces, or explicitly mark all interfaces as implemented at the original type definition point.
The first one is a lot of boilerplate, the second one is not always possible.
The first one is a lot of boilerplate, the second one is not always possible.