helix_fhir_client_sdk.exceptions.fhir_sender_exception

Module Contents

exception helix_fhir_client_sdk.exceptions.fhir_sender_exception.FhirSenderException(exception, url, json_data, response_text, response_status_code, message)

Bases: Exception

Common base class for all non-exit exceptions.

Creates a exception when sending data

Parameters
  • exception (Exception) – Exception thrown

  • url (str) – url that was being accessed

  • json_data (str) – data that was being sent

  • response_text (Optional[str]) – response from the FHIR server

  • response_status_code (Optional[int]) – status code returned by FHIR server

  • message (str) – error message