Error

protocol Error
  • Converts any Error into FHIRError; returns self if the receiver is a FHIRError already.

    Declaration

    Swift

    public var asFHIRError: FHIRError
  • Return a human-readable, localized string for error codes of the NSURLErrorDomain. Will simply return localizedDescription for if the receiver is not of that domain.

    The list of errors that are humanized is not necessarily exhaustive. All strings are returned fhir_localized.

    Declaration

    Swift

    public var humanized: String