public static string SafeToCodeString(Node node) { try { return node.ToCodeString(); } catch (Exception) { return "<unavailable>"; } }