Class APIException
Exception VpnSDKOAuthException. Fired when an authentication request fails due to API issues.
Inheritance
System.Object
APIException
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class APIException : HTTPException
Constructors
APIException(String)
Initializes a new instance of the APIException class.
Declaration
public APIException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
APIException(String, Exception)
Initializes a new instance of the APIException class.
Declaration
public APIException(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. |