mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-05-13 00:04:14 +08:00
Distinguish events and errors, and add additional info to the error dictionary
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
<#Description#>
|
||||
OpenVPN event codes
|
||||
*/
|
||||
typedef NS_ENUM(NSUInteger, OpenVPNEvent) {
|
||||
typedef NS_ENUM(NSInteger, OpenVPNEvent) {
|
||||
OpenVPNEventDisconnected,
|
||||
OpenVPNEventConnected,
|
||||
OpenVPNEventReconnecting,
|
||||
@@ -27,25 +27,5 @@ typedef NS_ENUM(NSUInteger, OpenVPNEvent) {
|
||||
OpenVPNEventPause,
|
||||
OpenVPNEventResume,
|
||||
OpenVPNEventRelay,
|
||||
OpenVPNEventTransportError,
|
||||
OpenVPNEventTunError,
|
||||
OpenVPNEventClientRestart,
|
||||
OpenVPNEventAuthFailed,
|
||||
OpenVPNEventCertVerifyFail,
|
||||
OpenVPNEventTLSVersionMin,
|
||||
OpenVPNEventClientHalt,
|
||||
OpenVPNEventConnectionTimeout,
|
||||
OpenVPNEventInactiveTimeout,
|
||||
OpenVPNEventDynamicChallenge,
|
||||
OpenVPNEventProxyNeedCreds,
|
||||
OpenVPNEventProxyError,
|
||||
OpenVPNEventTunSetupFailed,
|
||||
OpenVPNEventTunIfaceCreate,
|
||||
OpenVPNEventTunIfaceDisabled,
|
||||
OpenVPNEventEPKIError,
|
||||
OpenVPNEventEPKIInvalidAlias,
|
||||
OpenVPNEventRelayError,
|
||||
OpenVPNEventInitializationFailed,
|
||||
OpenVPNEventConnectionFailed,
|
||||
OpenVPNEventUnknown
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user