UsherError

Usher Error Class.

  • Undocumented

    Declaration

    Swift

    init?(errorJSON: JSON?)
  • The error’s kind. See ErrorKind

    Declaration

    Swift

    public var kind: ErrorKind { get }
  • This application has no permission to do this operation

    Declaration

    Swift

    public static let notPermitted: <<error type>>
  • Invalid or expired access token

    Declaration

    Swift

    public static let accessTokenExpired: <<error type>>
  • Invalid code

    Declaration

    Swift

    public static let invalidCode: <<error type>>
  • Incorrect Credentials

    Declaration

    Swift

    public static let incorrectCredentials: <<error type>>
  • Invalid badge

    Declaration

    Swift

    public static let badgeInvalid: <<error type>>
  • Invalid organization

    Declaration

    Swift

    public static let organizationInvalid: <<error type>>
  • The organization has been deleted

    Declaration

    Swift

    public static let organizationDeleted: <<error type>>
  • Invalid tag code

    Declaration

    Swift

    public static let invalidSession: <<error type>>
  • Account is locked

    Declaration

    Swift

    public static let accountLocked: <<error type>>
  • Badge cannot be used

    Declaration

    Swift

    public static let badgeCannotBeUsed: <<error type>>
  • Invalid Usher Code

    Declaration

    Swift

    public static let invalidUsherCode: <<error type>>
  • Badge doesn’t belong to the device

    Declaration

    Swift

    public static let badgeDoesNotBelongToDevice: <<error type>>
  • Badge is not approved for use on this device

    Declaration

    Swift

    public static let badgeNotApprovedForUseOnDevice: <<error type>>
  • Badge is not enrolled for use on this device

    Declaration

    Swift

    public static let badgeNotEnrolledForUseOnDevice: <<error type>>
  • Terms of use or privacy policy is not accepted by user

    Declaration

    Swift

    public static let termsOfUsePrivacyPolicyNotAccepted: <<error type>>
  • The refresh token has expired

    Declaration

    Swift

    public static let refreshTokenExpired: <<error type>>
  • App version is not supported

    Declaration

    Swift

    public static let appVersionNotSupported: <<error type>>
  • Generic server error

    Declaration

    Swift

    public static let genericServerError: <<error type>>
  • Client Certificate is not found

    Declaration

    Swift

    public static let sslErrorClientCertificateNotFound: <<error type>>
  • Client Certificate is not valid

    Declaration

    Swift

    public static let sslErrorClientCertificateInvalid: <<error type>>
  • Configuration required

    Declaration

    Swift

    public static let configurationRequired: <<error type>>
  • Failed to switch server

    Declaration

    Swift

    public static let serverSwitchFailed: <<error type>>
  • Declaration

    Swift

    public static let serverCertificateFetchFailed: <<error type>>
  • Realm is not available

    Declaration

    Swift

    public static let realmNotAvailable: <<error type>>
  • Invalid email

    Declaration

    Swift

    public static let emailInvalid: <<error type>>
  • No badge is selected

    Declaration

    Swift

    public static let noBadgeSelected: <<error type>>
  • Invalid image

    Declaration

    Swift

    public static let invalidImage: <<error type>>
  • Passcode validation attempts has been exhausted

    Declaration

    Swift

    public static let passcodeValidationAttemptsExhausted: <<error type>>
  • No badge is available

    Declaration

    Swift

    public static let noBadgeAvailable: <<error type>>
  • No admin badge is avaiable

    Declaration

    Swift

    public static let noAdminBadgeAvailable: <<error type>>
  • Recovery code is required

    Declaration

    Swift

    public static let recoveryCodeRequested: <<error type>>
  • Invalid parameter

    Declaration

    Swift

    public static let invalidParameter: <<error type>>
  • Missing parameter

    Declaration

    Swift

    public static let missingParameter: <<error type>>
  • Badge cannot be used due to badge security restriction

    Declaration

    Swift

    public static let badgeHasSecurityRestriction: <<error type>>
  • The current server doesn’t support Inbox

    Declaration

    Swift

    public static let inboxNotSupportedByServer: <<error type>>
  • Generic enrollment error

    Declaration

    Swift

    public static let genericEnrollmentError: <<error type>>
  • The enrollment verification code has expired

    Declaration

    Swift

    public static let verifyCodeExpired: <<error type>>
  • Too many incorrect code attempts

    Declaration

    Swift

    public static let tooManyVerifyAttempts: <<error type>>
  • Incorrect verification code

    Declaration

    Swift

    public static let invalidVerifyCode: <<error type>>
  • This badge already has a phone number enrolled

    Declaration

    Swift

    public static let badgeAlreadyEnrolled: <<error type>>
  • This phone number has been removed.

    Declaration

    Swift

    public static let phoneNumberRemoved: <<error type>>
  • SMS provider error.

    Declaration

    Swift

    public static let smsProviderError: <<error type>>
  • Text message is not supported on this number

    Declaration

    Swift

    public static let smsNotSupportedOnNumber: <<error type>>
  • Invalid phone number.

    Declaration

    Swift

    public static let invalidPhoneNumber: <<error type>>
  • Desktop Pairing information is not found

    Declaration

    Swift

    public static let pairingInfoNotFound: <<error type>>
  • Badge or Organization has been deleted

    Declaration

    Swift

    public static let badgeOrOrganizationDeleted: <<error type>>
  • Invalid tag code

    Declaration

    Swift

    public static let invalidTagCode: <<error type>>
  • Access Denied

    Declaration

    Swift

    public static let accessDenied: <<error type>>