MCPcopy Create free account
hub / github.com/decaporg/decap-cms / constructor

Method constructor

packages/decap-cms-lib-util/src/APIError.ts:9–16  ·  view source on GitHub ↗
(message: string, status: null | number, api: string, meta = {})

Source from the content-addressed store, hash-verified

7 meta: {};
8
9 constructor(message: string, status: null | number, api: string, meta = {}) {
10 super(message);
11 this.message = message;
12 this.status = status;
13 this.api = api;
14 this.name = API_ERROR;
15 this.meta = meta;
16 }
17}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected