Class WireGuardAPIException
Exception WireGuardAPIException. Fired when getting WG configuration fails due to API issues.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class WireGuardAPIException : HTTPException
Constructors
WireGuardAPIException(String)
Initializes a new instance of the WireGuardAPIException class.
Declaration
public WireGuardAPIException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
WireGuardAPIException(String, Exception)
Initializes a new instance of the WireGuardAPIException class.
Declaration
public WireGuardAPIException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
Exception | inner | the exception that we are passing up. |
Properties
Type
Gets the error type.
Declaration
public override ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType | The error type. |