VirtualVisitFailedReason

public enum VirtualVisitFailedReason : Error, FailedReasonType

An Error enum returned when ScheduleVirtualVisit

  • Missing some data in a request

    Declaration

    Swift

    case incompleteRequestData
  • Missing data in a request. See the message that is being returned for more information.

    Declaration

    Swift

    case missingInformation(message: String)
  • Email is not valid. To check, use EmailValidator.isValid(email)

    Declaration

    Swift

    case invalidEmail
  • Visit is expired. Please create a new visit.

    Declaration

    Swift

    case expired
  • Region is currently busy. Use PracticeService.getVirtualPracticeRegionAvailability to get more information

    Declaration

    Swift

    case regionBusy
  • When setting up a Virtual Visit. The user has denied a Camera or Microphone permission.

    Declaration

    Swift

    case permissionDenied(type: PermissionType)
  • A generic failure when not handled specifically in VirtualVisitFailedReason

    Declaration

    Swift

    case failed(reason: FailedReason)
  • The virtual visit id does not exist.

    Declaration

    Swift

    case virtualVisitNotFound
  • The visit type is not supported

    Declaration

    Swift

    case visitTypeNotSupported
  • The server returned an error. See message for details

    Declaration

    Swift

    case invalidRequest(message: String)
  • Undocumented

    See more

    Declaration

    Swift

    public struct PermissionType : OptionSet
  • Undocumented

    Declaration

    Swift

    public func failedReason() -> FailedReason?