@ -576,7 +576,11 @@ func (rt *RpcReturnError) WithCode(code int) *RpcReturnError {
}
func (rt *RpcReturnError) WithError(err error) *RpcReturnError {
rt.err = err
if err2, ok := err.(*ErrorWithStatus); ok {
rt.WithCode(err2.StatusCode)
} else {
return rt
The note is not visible to the blocked user.