Skip to content

Inherit exceptions from OperationOutcome #153

Description

@ruscoder

Currently, exceptions like ResourceNotFound are not inherited from OperationOutcome. Some FHIR servers (e.g. Aidbox) returns 404 with content of OperationOutcome.

The issue is that not every NotFound is OperationOutcome, e.g. if FHIR server does not return OperationOutcome.. In this case OperationOutcome(reason=response.text) might be used

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions