Errorhandling in Rest Service Connector
We are using rest connector to consume a rest service(also implented with pega) which returned different error messages in various errors.
The Service Response class has two page properties which used to map the service response:
- .Response
- .Error(if service call failed, the error page will be filled instead of response)
But in the rest connector rule we have only the option to map the service response. The error page will be full ignored.
I have considered to overwrite the OOTB ConnectionProblem, but it was in vain.
Does anyone have an idea, how could we map the error page in rest connector?