descent Functions that iterate over trees of errors defined using interface { Unwrap() error } interface { Unwrap() []error } These interfaces are how the errors package implements error comparison via errors.Is and errors.As.