MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / isOutboundPolicyError

Function isOutboundPolicyError

server/modules/outboundTargetPolicy.js:72–74  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

70}
71
72function isOutboundPolicyError(error) {
73 return !!error && error.code === "SSRF_BLOCKED";
74}
75
76function serializeOutboundPolicyError(error) {
77 if (!isOutboundPolicyError(error)) return null;

Callers 4

normalizeErrorFunction · 0.85
sendPolicyErrorFunction · 0.85
sendPolicyErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected