Beispiel #1
0
func maybeThrow(err error) {
	if err != nil {
		util.Throw(err)
	}
}
Beispiel #2
0
func throw(e error) {
	util.Throw(e)
}
Beispiel #3
0
func throwf(format string, args ...interface{}) {
	util.Throw(fmt.Errorf(format, args...))
}
Beispiel #4
0
func maybeThrow(e error) {
	if e != nil {
		util.Throw(e)
	}
}