MCPcopy Create free account
hub / github.com/COW-dev/ddingdong-fe / constructor

Method constructor

apps/web/app/_api/fetcher.ts:9–16  ·  view source on GitHub ↗
(
    public status: number,
    public message: string,
    public timestamp: string,
  )

Source from the content-addressed store, hash-verified

7
8export class ApiError extends Error {
9 constructor(
10 public status: number,
11 public message: string,
12 public timestamp: string,
13 ) {
14 super(message);
15 this.name = 'ApiError';
16 }
17}
18
19const defaultOption: Options = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected