MCPcopy Create free account
hub / github.com/arctic-cli/interface / constructor

Method constructor

packages/util/src/error.ts:21–27  ·  view source on GitHub ↗
(
        public readonly data: z.input<Data>,
        options?: ErrorOptions,
      )

Source from the content-addressed store, hash-verified

19 public override readonly name = name as Name
20
21 constructor(
22 public readonly data: z.input<Data>,
23 options?: ErrorOptions,
24 ) {
25 super(name, options)
26 this.name = name
27 }
28
29 static isInstance(input: any): input is InstanceType<typeof result> {
30 return typeof input === "object" && "name" in input && input.name === name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected