StoreManagerError
public enum StoreManagerError : Error
extension StoreManagerError: SAPError
Enum to handle errors in StoreManagerStep
-
- passcodeRetryLimitReached: thrown when the pasccode retry limit is reached by the user
Declaration
Swift
case passcodeRetryLimitReached
-
- resetPasscode: thrown when reset passcode required
Declaration
Swift
case resetPasscode
-
- skipPasscodeSetup: thrown when add passcode is skipped
Declaration
Swift
case skipPasscodeSetup
-
- cancelPasscodeEntry: thrown when passcode entry cancelled by the user
Declaration
Swift
case cancelPasscodeEntry
-
- failedPasscodeChange: thrown when the passcode change failed
Declaration
Swift
case passcodeChangeFailed
-
– invalidPasscodeAction: thrown when the given action is not permitted
Declaration
Swift
case invalidPasscodeAction
-
- storeAlreadyExists: thrown when the store already exists at the given name
Declaration
Swift
case storeAlreadyExists(path: String)
-
- storeDoesntExist: thrown if the store does not exist at the given name however it should
Declaration
Swift
case storeDoesntExist(path: String)
-
- failedToCreateStore: thrown when the store creation failed
Declaration
Swift
case failedToCreateStore
-
- failedToOpenStore: thrown when the store open failed
Declaration
Swift
case failedToOpenStore
-
Add new user
Declaration
Swift
case addNewUser
-
Switch to other user
Declaration
Swift
case switchUser(to: String)
-
Message describing the error
Declaration
Swift
public var description: String { get }
-
A textual representation of this instance, suitable for debugging.
Declaration
Swift
public var debugDescription: String { get }
-
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }
-
A localized message describing the reason for the failure.
Declaration
Swift
public var failureReason: String? { get }