MCPcopy Create free account
hub / github.com/anus-dev/ANUS / constructor

Method constructor

packages/core/src/utils/fetch.ts:22–28  ·  view source on GitHub ↗
(
    message: string,
    public code?: string,
  )

Source from the content-addressed store, hash-verified

20
21export class FetchError extends Error {
22 constructor(
23 message: string,
24 public code?: string,
25 ) {
26 super(message);
27 this.name = 'FetchError';
28 }
29}
30
31export function isPrivateIp(url: string): boolean {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected