MCPcopy Create free account
hub / github.com/Tong89/smartNode / constructor

Method constructor

frontend/src/api/client.ts:51–58  ·  view source on GitHub ↗
(
    message: string,
    public readonly status?: number,
    public readonly isTimeout = false,
  )

Source from the content-addressed store, hash-verified

49 */
50export class ApiError extends Error {
51 constructor(
52 message: string,
53 public readonly status?: number,
54 public readonly isTimeout = false,
55 ) {
56 super(message);
57 this.name = 'ApiError';
58 }
59}
60
61/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected