// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable MemberCanBePrivate.Global using System; namespace RGB.NET.Devices.Corsair; /// /// /// Represents an exception thrown by the CUE. /// public class CUEException : ApplicationException { #region Properties & Fields /// /// Gets the provided by CUE. /// public CorsairError Error { get; } #endregion #region Constructors /// /// /// Initializes a new instance of the class. /// /// The provided by CUE, which leads to this exception. public CUEException(CorsairError error) { this.Error = error; } #endregion }