Esempio n. 1
0
File: util.go Progetto: zhsj/elvish
func maybeThrow(err error) {
	if err != nil {
		util.Throw(err)
	}
}
Esempio n. 2
0
File: util.go Progetto: zhsj/elvish
func throw(e error) {
	util.Throw(e)
}
Esempio n. 3
0
File: util.go Progetto: zhsj/elvish
func throwf(format string, args ...interface{}) {
	util.Throw(fmt.Errorf(format, args...))
}
Esempio n. 4
0
func maybeThrow(e error) {
	if e != nil {
		util.Throw(e)
	}
}