InvalidTokenError

public struct InvalidTokenError : BiidError

Error object returned with an onInvalidTokenError completion handler. Returned when the user’s authentication has expired or is nolonger valid. A new token may be needed. The resolution specifies how this can be resolved.

  • Details the resolution to the InvalidTokenError

    • login: Authenticate again before retrying the request
    • retry: Retry the failing request
    See more

    Declaration

    Swift

    public enum Resolution : String
  • Error resolution action

    Declaration

    Swift

    public var action: Resolution
  • Error details

    Declaration

    Swift

    public var error: String
  • Unique ID generated per API call. Can be used for error tracking

    Declaration

    Swift

    public var traceID: String?
  • Error description

    Declaration

    Swift

    public var description: String { get }