diff --git a/CueSDK.cs b/CueSDK.cs
index c6c48b7..011d0a4 100644
--- a/CueSDK.cs
+++ b/CueSDK.cs
@@ -61,11 +61,13 @@ namespace CUE.NET
#region Methods
+ // ReSharper disable once ExceptionNotThrown
///
/// Initializes the CUE-SDK. This method should be called exactly ONE time, before anything else is done.
///
/// Specifies whether the application should request exclusive access or not.
/// Thrown if the SDK is already initialized, the SDK is not compatible to CUE or if CUE returns unknown devices.
+ /// Thrown if the CUE-SDK provides an error.
public static void Initialize(bool exclusiveAccess = false)
{
if (ProtocolDetails != null)
@@ -85,7 +87,7 @@ namespace CUE.NET
if (exclusiveAccess)
{
if (!_CUESDK.CorsairRequestControl(CorsairAccessMode.ExclusiveLightingControl))
- Throw(error);
+ Throw(LastError);
HasExclusiveAccess = true;
}