// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.Tracing; using Microsoft.PowerToys.Telemetry; using Microsoft.PowerToys.Telemetry.Events; namespace Microsoft.PowerToys.PreviewHandler.Gcode.Telemetry.Events { /// /// A telemetry event to be raised when an error has occurred in the preview pane. /// [EventData] public class GcodeFilePreviewError : EventBase, IEvent { /// /// Gets or sets the error message to log as part of the telemetry event. /// public string Message { get; set; } /// public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance; } }