Skip to content

Instantly share code, notes, and snippets.

@naveenrobo
Created April 11, 2018 08:13
Show Gist options
  • Save naveenrobo/613d00d986ee0d2c3f7c19a415683cf5 to your computer and use it in GitHub Desktop.
Save naveenrobo/613d00d986ee0d2c3f7c19a415683cf5 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RaiseFault async="false" continueOnError="false" enabled="true" name="RaiseFault">
<DisplayName>RaiseFault</DisplayName>
<Properties/>
<FaultResponse>
<Set>
<Headers/>
<Payload contentType="application/json" variablePrefix="@" variableSuffix="#">
{"error":"Internal Error", "path":"@proxy.pathsuffix#"}
</Payload>
<StatusCode>500</StatusCode>
<ReasonPhrase>Server Error</ReasonPhrase>
</Set>
</FaultResponse>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</RaiseFault>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment