PersonaError

public enum PersonaError : Error, CustomDebugStringConvertible
extension PersonaError: LocalizedError

Errors that can occur clientside during the inquiry flow which result in the inquiryError callback

  • An api error or connectivity error occurred

    Declaration

    Swift

    case networking
  • Failed to get a context to the device camera

    Declaration

    Swift

    case camera
  • Permissions have been denied or incorrectly configured

    Declaration

    Swift

    case permissions
  • The corresponding template is misconfigured

    Declaration

    Swift

    case misconfigured(InquiryConfigurationError)
  • An otherwise unexpected or unhandled error occurred

    Declaration

    Swift

    case other
  • A short debug description for why the persona sdk errored

    Declaration

    Swift

    public var debugDescription: String { get }
  • Declaration

    Swift

    public var errorDescription: String? { get }