// OrNil returns this object or nil of no errors are stored
OrNil returns this object or nil of no errors are stored
// OrNil returns this object or nil of no errors are stored
func (stack *ErrorStack) OrNil() error {
	if len(stack.errors) == 0 {
		return nil
	}
	return stack
}
func ( stack * ErrorStack ) OrNil ( ) error { if len ( stack . errors ) == 0 { return nil } return stack }
OrNil returns this object or nil of no errors are stored
OrNil returns this object or nil of no errors are stored