mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Convert OpenVPNAdapterError to NS_ERROR_ENUM (#22)
This commit is contained in:
committed by
Sergey Abramchuk
parent
98ee12d961
commit
7230e1f83d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user