// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable MemberCanBePrivate.Global
using System;
using CUE.NET.Devices.Generic.Enums;
namespace CUE.NET.Exceptions
{
///
/// 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
}
}