WaitTimeFailedReason

public enum WaitTimeFailedReason : Error, FailedReasonType, Equatable

An Error enum returned for Estimated Wait Times

  • The PracticeRegionId passed in does not exist on our system

    Declaration

    Swift

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

    Declaration

    Swift

    case noOnCallProviders
  • The Practice Region is busy or it’s off hours.

    Declaration

    Swift

    case regionUnavailable
  • 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