// Push adds a new error to the top of the error stack.
// Returns if err != nil.
Push adds a new error to the top of the error stack.
Returns if err != nil.
// Push adds a new error to the top of the error stack . // Returns if err ! = nil .
func (stack *ErrorStack) Push(err error) bool {
	if err != nil {
		stack.errors = append(stack.errors, err)
		return true
	}
	return false
}
func ( stack * ErrorStack ) Push ( err error ) bool { if err != nil { stack . errors = append ( stack . errors , err ) return true } return false }
Push adds a new error to the top of the error stack.
Push adds a new error to the top of the error stack .