Define a key representing client error and define codes for errors

This commit is contained in:
Sergey Abramchuk
2017-02-12 16:03:03 +03:00
parent 4b81e400fc
commit 357913a543

View File

@@ -9,4 +9,11 @@
#import <Foundation/Foundation.h>
extern NSString * __nonnull const OpenVPNClientErrorDomain;
extern NSString *__nonnull const OpenVPNClientErrorFatalKey;
extern NSString *__nonnull const OpenVPNClientErrorEventKey;
typedef NS_ENUM(NSUInteger, OpenVPNError) {
OpenVPNErrorConfigurationFailure,
OpenVPNErrorClientFailure
};