in common/shenyu_error/shenyu_error.go [43:49]
func (err *ShenYuError) Error() (str string) {
shenYuErrMsg := fmt.Sprintf("The errCode is ->:%v, The errMsg is ->:%v \n\n", err.ErrorCode(), err.errMsg)
if err.originError != nil {
return shenYuErrMsg + "caused by:\n" + err.originError.Error()
}
return shenYuErrMsg
}