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

Method constructor

src/tools/WebFetchTool/utils.ts:29–34  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

27
28class DomainCheckFailedError extends Error {
29 constructor(domain: string) {
30 super(
31 `Unable to verify if domain ${domain} is safe to fetch. This may be due to network restrictions or enterprise security policies blocking claude.ai.`,
32 )
33 this.name = 'DomainCheckFailedError'
34 }
35}
36
37class EgressBlockedError extends Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected