Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
VictoriaKostyleva committed Oct 31, 2022
2 parents 4420183 + 761156d commit 485d85a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import SentinelWallet
enum SubscriptionsServiceError: String, LocalizedError {
case missingMnemonic = "missing_mnemonic"
case paymentFailed = "payment_failed"
case faliToCancelSubscription = "fali_to_cancel_subscription"
case failToCancelSubscription = "fail_to_cancel_subscription"
case activeSession = "active_session"

var errorDescription: String? {
Expand Down Expand Up @@ -95,7 +95,7 @@ extension SubscriptionsService: SubscriptionsServiceType {
completion(.failure(SubscriptionsServiceError.activeSession))
return
}
completion(.failure(SubscriptionsServiceError.faliToCancelSubscription))
completion(.failure(SubscriptionsServiceError.failToCancelSubscription))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import NetworkExtension
import WireGuardKit

enum PacketTunnelProviderError: String, LocalizedError {
case savedProtocolConfigurationIsInvalid
case dnsResolutionFailure
case couldNotStartBackend
case couldNotDetermineFileDescriptor
case couldNotSetNetworkSettings
case savedProtocolConfigurationIsInvalid = "saved_protocol_configuration_is_invalid"
case dnsResolutionFailure = "dns_resolution_failure"
case couldNotStartBackend = "could_not_start_backend"
case couldNotDetermineFileDescriptor = "could_not_determine_file_descriptor"
case couldNotSetNetworkSettings = "could_not_set_network_settings"

var errorDescription: String? {
self.rawValue
Expand Down

0 comments on commit 485d85a

Please sign in to comment.