MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / rejectBlocked

Function rejectBlocked

packages/core/sdk/src/hosted-http-client.ts:608–609  ·  view source on GitHub ↗
(url: string, reason: string)

Source from the content-addressed store, hash-verified

606// rejection itself is the contract; this keeps the tagged error the single
607// currency and the entry in one reviewable spot.
608const rejectBlocked = (url: string, reason: string): Promise<never> =>
609 Effect.runPromise(Effect.fail(new HostedOutboundRequestBlocked({ url, reason })));
610
611// The cached resolver for one composition. Built here rather than inside
612// guardFetch so several adapters over the same options can share a single

Callers 1

guardFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected