1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-12 08:48:30 +00:00
CUE.NET/Enums/CorsairError.cs

43 lines
1.4 KiB
C#

// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace CUE.NET.Enums
{
/// <summary>
/// Shared list of all errors which could happen during calling of Corsair* functions.
/// </summary>
public enum CorsairError
{
/// <summary>
/// If previously called function completed successfully.
/// </summary>
CE_Success,
/// <summary>
/// CUE is not running or was shut down or third-party control is disabled in CUE settings. (runtime error)
/// </summary>
CE_ServerNotFound,
/// <summary>
/// If some other client has or took over exclusive control. (runtime error)
/// </summary>
CE_NoControl,
/// <summary>
/// If developer did not perform protocol handshake. (developer error)
/// </summary>
CE_ProtocolHandshakeMissing,
/// <summary>
/// If developer is calling the function that is not supported by the server (either because protocol has broken by server or client or because the function is new and server is too old.
/// Check CorsairProtocolDetails for details). (developer error)
/// </summary>
CE_IncompatibleProtocol,
/// <summary>
/// If developer supplied invalid arguments to the function (for specifics look at function descriptions). (developer error)
/// </summary>
CE_InvalidArguments
};
}