Convert OpenVPNAdapterError to NS_ERROR_ENUM (#22)

This commit is contained in:
Jonathan Downing
2017-09-18 11:43:51 +03:00
committed by Sergey Abramchuk
parent 98ee12d961
commit 7230e1f83d
+1 -1
View File
@@ -17,7 +17,7 @@ FOUNDATION_EXPORT NSString * __nonnull const OpenVPNAdapterErrorMessageKey;
/**
OpenVPN error codes
*/
typedef NS_ENUM(NSInteger, OpenVPNAdapterError) {
typedef NS_ERROR_ENUM(OpenVPNAdapterErrorDomain, OpenVPNAdapterError) {
OpenVPNAdapterErrorConfigurationFailure = 1,
OpenVPNAdapterErrorCredentialsFailure,
OpenVPNAdapterErrorNetworkRecvError,