mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-15 03:37:52 +08:00
3847235a14
The Errors function is not related to diag.Error, so keeping it in the same package is confusing. Also unexport the MultiError type. This allows its Error method to be simplified, as it can assume that it always contains at least 2 errors.
3 lines
76 B
Go
3 lines
76 B
Go
// Package errutil contains common error-related utilities.
|
|
package errutil
|