Enumerations
The following enumerations are available globally.
-
Undocumented
See moreDeclaration
Swift
public enum NotificationPlatform : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum NetworkError : LocalizedError
-
Undocumented
See moreDeclaration
Swift
public enum SecureStorageError : OperationError
-
Undocumented
See moreDeclaration
Swift
public enum KeyManagerError : OperationError
-
Error types returned by the TwilioVerify SDK. It encompasess different types of errors that have their own associated reasons and codes.
- Error: Log error events that might still allow the application to continue running.
- Info: Log the progress of the application at coarse-grained level.
- Networking: Log network requests.
- Debug: Log fine-grained informational events that are most useful to debug the application.
- All: Turn on all logging.
Declaration
Swift
public enum LogLevel
-
Describes the approval status of a Challenge
See moreDeclaration
Swift
public enum ChallengeStatus : String, Codable
-
Describes the order to fetch a ChallengeList
See moreDeclaration
Swift
public enum ChallengeListOrder : String, Codable
-
Describes the verification status of a Factor.
See moreDeclaration
Swift
public enum FactorStatus : String, Codable
-
Describes the types a factor can have.
See moreDeclaration
Swift
public enum FactorType : String, Codable
-
Error types returned by the TwilioVerify SDK. It encompasess different types of errors that have their own associated reasons and codes.
- NetworkError: An error occurred while calling the API.
- MapperError: An error occurred while mapping an entity.
- StorageError: An error occurred while storing/loading an entity.
- InputError: An error occurred while loading input.
- KeyStorageError: An error occurred while storing/loading keypairs.
- InitializationError: An error occurred while initializing a class.
- AuthenticationTokenError: An error occurred while generating a token.
Declaration
Swift
public enum TwilioVerifyError : LocalizedError
-
Error types returned as cause for a
TwilioVerifyError
andInputError
code on validation errors.- errorDescription: message associated message of the error.
Declaration
Swift
public enum InputError : Error, LocalizedError