mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Define a key representing client error and define codes for errors
This commit is contained in:
@@ -9,4 +9,11 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
extern NSString * __nonnull const OpenVPNClientErrorDomain;
|
extern NSString * __nonnull const OpenVPNClientErrorDomain;
|
||||||
|
|
||||||
extern NSString *__nonnull const OpenVPNClientErrorFatalKey;
|
extern NSString *__nonnull const OpenVPNClientErrorFatalKey;
|
||||||
|
extern NSString *__nonnull const OpenVPNClientErrorEventKey;
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSUInteger, OpenVPNError) {
|
||||||
|
OpenVPNErrorConfigurationFailure,
|
||||||
|
OpenVPNErrorClientFailure
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user