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

Class

src/tools/WebFetchTool/utils.ts:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21// Custom error classes for domain blocking
22class DomainBlockedError extends Error {
23 constructor(domain: string) {
24 super(`Code is unable to fetch from ${domain}`)
25 this.name = 'DomainBlockedError'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected