MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/tools/WebFetchTool/utils.ts:38–47  ·  view source on GitHub ↗
(public readonly domain: string)

Source from the content-addressed store, hash-verified

36
37class EgressBlockedError extends Error {
38 constructor(public readonly domain: string) {
39 super(
40 JSON.stringify({
41 error_type: 'EGRESS_BLOCKED',
42 domain,
43 message: `Access to ${domain} is blocked by the network egress proxy.`,
44 }),
45 )
46 this.name = 'EgressBlockedError'
47 }
48}
49
50// Cache for storing fetched URL content

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected