GeneralErrorReason

public enum GeneralErrorReason

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)