GeneralErrorReason

public enum GeneralErrorReason : Sendable

The possible underlying reasons .generalError occurs.

  • conversionError: Cannot convert string to valid data with encoding. Code 4001.
  • parameterError: The method is invoked with an invalid parameter. Code 4002.
  • notOriginalTask: The image download task finished but it is not the original task issued. Code 4003.
  • processDiscarded: The process is discarded when a new login process is created. This only happens when allowRecreatingLoginProcess in LoginManager.Parameters is true and users are trying to create another login process. Code 4004.
  • Cannot convert string to valid data with encoding. Code 4001.

    Declaration

    Swift

    case conversionError(string: String, encoding: String.Encoding)
  • The method is invoked with an invalid parameter. Code 4002.

    Declaration

    Swift

    case parameterError(parameterName: String, description: String)
  • The image download task finished but it is not the original task issued. Code 4003.

    Declaration

    Swift

    case notOriginalTask(token: UInt)
  • The process is discarded when a new login process is created. This only happens when allowRecreatingLoginProcess in LoginManager.Parameters is true and users are trying to create another login process. Code 4004.

    Declaration

    Swift

    case processDiscarded(LoginProcess)
  • The LoginManager was reset during an ongoing login process. This occurs when LoginManager.reset() is called while a login operation is in progress. Code 4005.

    Declaration

    Swift

    case loginManagerReset
  • The API has been deprecated and is no longer functional. Code 4006.

    Declaration

    Swift

    case deprecatedAPI(apiName: String)