C3Error

public enum C3Error: Error, CustomStringConvertible

Errors thrown around when working with C3-PRO.

  • The mentioned feature is not implemented.

    Declaration

    Swift

    case notImplemented(String)
  • An error holding on to multiple other errors.

    Declaration

    Swift

    case multipleErrors(Array<Error>)
  • The respective file was not found in the app bundle.

    Declaration

    Swift

    case bundleFileNotFound(String)
  • A JSON file does not have the expected structure.

    Declaration

    Swift

    case invalidJSON(String)
  • The layout of the storyboard is not as expected.

    Declaration

    Swift

    case invalidStoryboard(String)
  • A FHIR extension is invalid in the respective context.

    Declaration

    Swift

    case extensionInvalidInContext
  • A FHIR extension is incomplete.

    Declaration

    Swift

    case extensionIncomplete(String)
  • The consent is lacking a patient reference.

    Declaration

    Swift

    case consentNoPatientReference(Error)
  • The Contract resource does not have any terms that can be used for consenting.

    Declaration

    Swift

    case consentContractHasNoTerms
  • The given error occurred during encryption.

    Declaration

    Swift

    case encryptionFailedWithStatus(OSStatus)
  • The X509 certificate could not be read from the given location.

    Declaration

    Swift

    case encryptionX509CertificateNotRead(String)
  • Geolocation services are disabled or restricted.

    Declaration

    Swift

    case locationServicesDisabled
  • The given question should provide choices but there are none.

    Declaration

    Swift

    case questionnaireNoChoicesInChoiceQuestion(QuestionnaireGroupQuestion)
  • The questionnaire finished with an error (i.e. was not completed).

    Declaration

    Swift

    case questionnaireFinishedWithError
  • Access to HealthKit was not granted.

    Declaration

    Swift

    case healthKitNotAvailable
  • There is no HealthKit sample of the given type.

    Declaration

    Swift

    case noSuchHKSampleType(String)
  • The respective HealthKit quantity cannot be converted to the desired unit.

    Declaration

    Swift

    case quantityNotCompatibleWithUnit
  • The interval to query data is too small.

    Declaration

    Swift

    case intervalTooSmall
  • A string representation of the error.

    Declaration

    Swift

    public var description: String