Skip to content

feat: add HTTP 429 and 503 error handling to FHIR client#101

Merged
gavinsharp merged 1 commit intomainfrom
fern-bot/2026-03-09T14-05Z
Mar 9, 2026
Merged

feat: add HTTP 429 and 503 error handling to FHIR client#101
gavinsharp merged 1 commit intomainfrom
fern-bot/2026-03-09T14-05Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 9, 2026

Enhance the FHIR client with comprehensive error handling for rate limiting (429) and service unavailability (503) scenarios. This improves the SDK's resilience and provides better error feedback to developers.

Key changes:

  • Add TooManyRequestsError for HTTP 429 responses with structured error handling
  • Add ServiceUnavailableError for HTTP 503 responses with generic error handling
  • Update both synchronous and asynchronous FHIR clients with new error cases
  • Import new error classes in client implementations

🌿 Generated with Fern

Enhance the FHIR client with comprehensive error handling for rate limiting (429) and service unavailability (503) scenarios. This improves the SDK's resilience and provides better error feedback to developers.

Key changes:
- Add TooManyRequestsError for HTTP 429 responses with structured error handling
- Add ServiceUnavailableError for HTTP 503 responses with generic error handling
- Update both synchronous and asynchronous FHIR clients with new error cases
- Import new error classes in client implementations

🌿 Generated with Fern
@gavinsharp gavinsharp merged commit 44cf28f into main Mar 9, 2026
4 checks passed
@gavinsharp gavinsharp deleted the fern-bot/2026-03-09T14-05Z branch March 9, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant