Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

HostErrorSet should implement errorGroup interface #19

Closed
jkawamoto opened this issue May 13, 2021 · 0 comments · Fixed by #21
Closed

HostErrorSet should implement errorGroup interface #19

jkawamoto opened this issue May 13, 2021 · 0 comments · Fixed by #21
Labels
enhancement New feature or request

Comments

@jkawamoto
Copy link
Member

jkawamoto commented May 13, 2021

zap can print a detailed log if a set of errors implements this interface:

type errorGroup interface {
	Errors() []error
}

Related: uber-go/zap#941

@jkawamoto jkawamoto added the enhancement New feature or request label May 13, 2021
jkawamoto added a commit that referenced this issue May 18, 2021
jkawamoto added a commit that referenced this issue May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant