apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
15 lines • 707 B
text/xml
<RaiseFault async="false" continueOnError="false" enabled="true" name="RaiseFaultResourceNotFound">
<DisplayName>RaiseFaultResourceNotFound</DisplayName>
<Properties/>
<FaultResponse>
<Set>
<!-- variablez?
context.setVariable('flow.error.userMessage', 'The resource requested was not found');
var _developerMsg = 'Resource Name: '+pathSuffix+', method : '+requestVerb; -->
<StatusCode>404</StatusCode>
<ReasonPhrase>Resource Not Found</ReasonPhrase>
</Set>
</FaultResponse>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</RaiseFault>