Closed calebbrown closed 6 months ago
go1.20 added support for the Unwrap() []error interface.
Unwrap() []error
Currently the Errors type does not implement any unwrap capability, making it impossible to call errors.Is or errors.As to extract the details of an underlying error.
Errors
errors.Is
errors.As
go1.20 added support for the
Unwrap() []error
interface.Currently the
Errors
type does not implement any unwrap capability, making it impossible to callerrors.Is
orerrors.As
to extract the details of an underlying error.