Class RazerException
Serves as the base class for application-defined exceptions.
Implements
Inherited Members
Namespace: RGB.NET.Devices.Razer
Assembly: RGB.NET.Devices.Razer.dll
Syntax
public sealed class RazerException : ApplicationException, ISerializable
Constructors
| Edit this page View SourceRazerException(RazerError)
Initializes a new instance of the RazerException class.
Declaration
public RazerException(RazerError errorCode)
Parameters
Type | Name | Description |
---|---|---|
RazerError | errorCode | The error code provided by the SDK. |
Properties
| Edit this page View SourceErrorCode
Gets the error code provided by the SDK.
Declaration
public RazerError ErrorCode { get; }
Property Value
Type | Description |
---|---|
RazerError |