iOS SDK Version

AKFError

enumAKFError{}
AKFError
Top level error codes from the AccountKit framework.
Use the NSUnderlyingErrorKey to retrieve underlying errors with more details if necessary.
  • A request failed due to a network error.
    It is generally suitable to present UI to check the network connection when this error code is received.

    Declaration

    Objective-C
    AKFErrorNetworkConnection=100
    Swift
    casenetworkConnection=100
  • Server generated an error.
    Use AKFErrorDeveloperMessageKey to retrieve the details of the server error from the underlying error.

    Declaration

    Objective-C
    AKFErrorServer=200
    Swift
    caseserver=200
  • The existing login request has become invalid.
    A new login request must be initiated. See AKFLoginRequestError for underlying error codes.

    Declaration

    Objective-C
    AKFErrorLoginRequestInvalidated=300
    Swift
    caseloginRequestInvalidated=300
  • A parameter value that is entered is invalid.
    The data passed into the SDK has an invalid value. In most cases this can be resolved by presenting UI to re-enter the data correctly. See AKFInvalidParameterValueErrorCode for underlying error codes.

    Declaration

    Objective-C
    AKFErrorInvalidParameterValue=400
    Swift
    caseinvalidParameterValue=400