FRAError
public enum FRAError : FRError
extension FRAError: CustomNSError
FRAError represents an error captured by FRAuthenticator SDK for any operation related to FRAuthenticator class
- invalidStateForChangingStorage: Storage Client is being set after SDK initialization which is prohibited
-
Declaration
Swift
case invalidStateForChangingStorage
-
Declaration
Swift
case failToSaveIntoStorageClient(String)
-
Declaration
Swift
case invalidStateForChangingPolicyEvaluator
-
Declaration
Swift
case invalidPolicyRegisteredWithPolicyEvaluator(String)
-
Unique error code for given error
Declaration
Swift
var code: Int { get }
-
Parses FRAError value into integer error code
Declaration
Swift
func parseErrorCode() -> Int
Return Value
Int value of unique error code
-
An error domain for FRAError
Declaration
Swift
public static var errorDomain: String { get }
-
Error codes for each error enum
Declaration
Swift
public var errorCode: Int { get }
-
Error UserInfo
Declaration
Swift
public var errorUserInfo: [String : Any] { get }