mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
pkg/eval: Minor godoc edits.
This commit is contained in:
parent
b986d80a49
commit
72d7c5c595
|
@ -149,7 +149,8 @@ func (pe PipelineError) Error() string {
|
||||||
return b.String()
|
return b.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
// MakePipelineError builds a suitable error from pipeline results:
|
// MakePipelineError builds an error from the execution results of multiple
|
||||||
|
// commands in a pipeline.
|
||||||
//
|
//
|
||||||
// If all elements are either nil or OK, it returns nil. If there is exactly
|
// If all elements are either nil or OK, it returns nil. If there is exactly
|
||||||
// non-nil non-OK Exception, it returns it. Otherwise, it return a PipelineError
|
// non-nil non-OK Exception, it returns it. Otherwise, it return a PipelineError
|
||||||
|
|
Loading…
Reference in New Issue
Block a user