ErrorKind

public struct ErrorKind : Equatable, RawRepresentable

For better differentiation, errors are categorized under different categories.

  • Unknown error.

    Declaration

    Swift

    public static let unknownError: ErrorKind
  • NSURLSession-related error.

    Declaration

    Swift

    public static let urlSessionError: ErrorKind
  • Generic error detected in workflows in SDK layer.

    Declaration

    Swift

    public static let genericError: ErrorKind
  • Error detected when executing an API call.

    Declaration

    Swift

    public static let apiExecutorError: ErrorKind
  • HTTP communication error.

    Declaration

    Swift

    public static let httpError: ErrorKind
  • Error detected in SDK when parsing API Response.

    Declaration

    Swift

    public static let apiResponseError: ErrorKind
  • Error detecting when validating password and other form entries.

    Declaration

    Swift

    public static let validationError: ErrorKind
  • Error detecting when performing biometric autherization.

    Declaration

    Swift

    public static let biometricAuthorizationError: ErrorKind
  • Error detected in SDK when access token is no longer valid.

    Declaration

    Swift

    public static let invalidAccessTokenError: ErrorKind
  • Error detected when accessing keychain.

    Declaration

    Swift

    public static let keychainError: ErrorKind