From 357913a54378ef8d3af0daea6bfc06d76148818d Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Sun, 12 Feb 2017 16:03:03 +0300 Subject: [PATCH] Define a key representing client error and define codes for errors --- OpenVPN Tunnel Provider/OpenVPNError.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenVPN Tunnel Provider/OpenVPNError.h b/OpenVPN Tunnel Provider/OpenVPNError.h index f64df21..01443d5 100644 --- a/OpenVPN Tunnel Provider/OpenVPNError.h +++ b/OpenVPN Tunnel Provider/OpenVPNError.h @@ -9,4 +9,11 @@ #import extern NSString * __nonnull const OpenVPNClientErrorDomain; + extern NSString *__nonnull const OpenVPNClientErrorFatalKey; +extern NSString *__nonnull const OpenVPNClientErrorEventKey; + +typedef NS_ENUM(NSUInteger, OpenVPNError) { + OpenVPNErrorConfigurationFailure, + OpenVPNErrorClientFailure +};