gitlab.com/evatix-go/core@v1.3.55/errcore/MeaningFulErrorHandle.go (about) 1 package errcore 2 3 func MeaningfulErrorHandle( 4 rawErrType RawErrorType, 5 funcName string, 6 err error, 7 ) { 8 if err == nil { 9 return 10 } 11 12 err2 := MeaningfulError(rawErrType, funcName, err) 13 14 panic(err2) 15 }