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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected