UsherError

public typealias UsherError = UsherCore.UsherError
  • 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: UsherError
  • Invalid or expired access token

    Declaration

    Swift

    public static let accessTokenExpired: UsherError
  • Invalid code

    Declaration

    Swift

    public static let invalidCode: UsherError
  • Incorrect Credentials

    Declaration

    Swift

    public static let incorrectCredentials: UsherError
  • Invalid badge

    Declaration

    Swift

    public static let badgeInvalid: UsherError
  • Invalid organization

    Declaration

    Swift

    public static let organizationInvalid: UsherError
  • The organization has been deleted

    Declaration

    Swift

    public static let organizationDeleted: UsherError
  • Invalid tag code

    Declaration

    Swift

    public static let invalidSession: UsherError
  • Account is locked

    Declaration

    Swift

    public static let accountLocked: UsherError
  • Badge cannot be used

    Declaration

    Swift

    public static let badgeCannotBeUsed: UsherError
  • Invalid Usher Code

    Declaration

    Swift

    public static let invalidUsherCode: UsherError
  • Badge doesn’t belong to the device

    Declaration

    Swift

    public static let badgeDoesNotBelongToDevice: UsherError
  • Badge is not approved for use on this device

    Declaration

    Swift

    public static let badgeNotApprovedForUseOnDevice: UsherError
  • Badge is not enrolled for use on this device

    Declaration

    Swift

    public static let badgeNotEnrolledForUseOnDevice: UsherError
  • Terms of use or privacy policy is not accepted by user

    Declaration

    Swift

    public static let termsOfUsePrivacyPolicyNotAccepted: UsherError
  • The refresh token has expired

    Declaration

    Swift

    public static let refreshTokenExpired: UsherError
  • App version is not supported

    Declaration

    Swift

    public static let appVersionNotSupported: UsherError
  • Generic server error

    Declaration

    Swift

    public static let genericServerError: UsherError
  • Client Certificate is not found

    Declaration

    Swift

    public static let sslErrorClientCertificateNotFound: UsherError
  • Client Certificate is not valid

    Declaration

    Swift

    public static let sslErrorClientCertificateInvalid: UsherError
  • Configuration required

    Declaration

    Swift

    public static let configurationRequired: UsherError
  • Failed to switch server

    Declaration

    Swift

    public static let serverSwitchFailed: UsherError
  • Declaration

    Swift

    public static let serverCertificateFetchFailed: UsherError
  • Realm is not available

    Declaration

    Swift

    public static let realmNotAvailable: UsherError
  • Invalid email

    Declaration

    Swift

    public static let emailInvalid: UsherError
  • No badge is selected

    Declaration

    Swift

    public static let noBadgeSelected: UsherError
  • Invalid image

    Declaration

    Swift

    public static let invalidImage: UsherError
  • Passcode validation attempts has been exhausted

    Declaration

    Swift

    public static let passcodeValidationAttemptsExhausted: UsherError
  • No badge is available

    Declaration

    Swift

    public static let noBadgeAvailable: UsherError
  • No admin badge is avaiable

    Declaration

    Swift

    public static let noAdminBadgeAvailable: UsherError
  • Recovery code is required

    Declaration

    Swift

    public static let recoveryCodeRequested: UsherError
  • Invalid parameter

    Declaration

    Swift

    public static let invalidParameter: UsherError
  • Missing parameter

    Declaration

    Swift

    public static let missingParameter: UsherError
  • Badge cannot be used due to badge security restriction

    Declaration

    Swift

    public static let badgeHasSecurityRestriction: UsherError
  • The current server doesn’t support Inbox

    Declaration

    Swift

    public static let inboxNotSupportedByServer: UsherError
  • Generic enrollment error

    Declaration

    Swift

    public static let genericEnrollmentError: UsherError
  • The enrollment verification code has expired

    Declaration

    Swift

    public static let verifyCodeExpired: UsherError
  • Too many incorrect code attempts

    Declaration

    Swift

    public static let tooManyVerifyAttempts: UsherError
  • Incorrect verification code

    Declaration

    Swift

    public static let invalidVerifyCode: UsherError
  • This badge already has a phone number enrolled

    Declaration

    Swift

    public static let badgeAlreadyEnrolled: UsherError
  • This phone number has been removed.

    Declaration

    Swift

    public static let phoneNumberRemoved: UsherError
  • SMS provider error.

    Declaration

    Swift

    public static let smsProviderError: UsherError
  • Text message is not supported on this number

    Declaration

    Swift

    public static let smsNotSupportedOnNumber: UsherError
  • Invalid phone number.

    Declaration

    Swift

    public static let invalidPhoneNumber: UsherError
  • Desktop Pairing information is not found

    Declaration

    Swift

    public static let pairingInfoNotFound: UsherError
  • Badge or Organization has been deleted

    Declaration

    Swift

    public static let badgeOrOrganizationDeleted: UsherError
  • Invalid tag code

    Declaration

    Swift

    public static let invalidTagCode: UsherError
  • Access Denied

    Declaration

    Swift

    public static let accessDenied: UsherError