WaitTimeFailedReason

public enum WaitTimeFailedReason : Error, FailedReasonType, Equatable

An Error enum returned for Estimated Wait Times

  • There are no Providers that are on call in the PracticeRegion.

    Declaration

    Swift

    case noOnCallProviders
  • The Practice Region is off hours.

    Declaration

    Swift

    case offHours
  • The Practice Region is experiencing high demand (busy).

    Declaration

    Swift

    case regionBusy
  • The PracticeRegionId passed in does not exist on our system

    Declaration

    Swift

    case regionNotFound
  • The visit with the given visitId was not found.

    Declaration

    Swift

    case visitNotFound
  • Something went wrong internally. Please send us the correlation id.

    Declaration

    Swift

    case internalServerError
  • Some information is missing from the request. Check the message

    Declaration

    Swift

    case missingInformation(message: String)
  • Fallback failure case not matching any other expected failure

    Declaration

    Swift

    case failed(reason: FailedReason)
  • Undocumented

    Declaration

    Swift

    public func failedReason() -> FailedReason?
  • Declaration

    Swift

    public static func == (lhs: WaitTimeFailedReason, rhs: WaitTimeFailedReason) -> Bool