package
Version:
v0.0.53
Opens a new window with list of versions in this module.
Published: Oct 8, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New returns an error with the supplied errors.
If no error contained, return nil.
package main
import (
"fmt"
"github.com/searKing/golang/go/error/multi"
)
func main() {
err := multi.New(fmt.Errorf("whoops"), fmt.Errorf("foo"))
fmt.Println(err)
}
Output:
whoops|foo
Source Files
¶
Click to show internal directories.
Click to hide internal directories.