src/client/pkg/grpcutil/error.go
func ScrubGRPC(err error) error {
	if err == nil {
		return nil
	}
	if s, ok := status.FromError(err); ok {
		return errors.New(s.Message())
	}
	return err
}
func ScrubGRPC(err error) error {
	if err == nil {
		return nil
	}
	if s, ok := status.FromError(err); ok {
		return errors.New(s.Message())
	}
	return err
}
func ScrubGRPC ( err error ) error { if err == nil { return nil } if s , ok := status . FromError ( err ) ; ok { return errors . New ( s . Message ( ) ) } return err }
// ScrubGRPC removes GRPC error code information from 'err' if it came from
// GRPC (and returns it unchanged otherwise)
ScrubGRPC removes GRPC error code information from err if it came from GRPC ( and returns it unchanged otherwise )