I'm using this service to create a FHIR facade.
I want to return OperationOutcome to the calling application when I detect an error.
My code at present is :
set##class%NewIf I change the response code to 422, the calling app doesn't get the OperationOutcome. Instead I get
The custom error module does not recognize this error.
Do I need to implement a custom error?