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

Function sendPolicyError

server/api/ConnectionRoute.js:44–47  ·  view source on GitHub ↗
(res, error)

Source from the content-addressed store, hash-verified

42 const teamController = new TeamController();
43
44 const sendPolicyError = (res, error) => {
45 if (!isOutboundPolicyError(error)) return false;
46 return res.status(400).send(serializeOutboundPolicyError(error));
47 };
48
49 const sendSourceDisabledError = (res, error) => {
50 if (!isSourceDisabledError(error)) return false;

Callers 1

ConnectionRoute.jsFile · 0.70

Calls 2

isOutboundPolicyErrorFunction · 0.85

Tested by

no test coverage detected