MCPcopy Create free account
hub / github.com/ShaanCoding/makeread.me / constructor

Method constructor

frontend/openAPI/generated/core/ApiError.ts:15–24  ·  view source on GitHub ↗
(request: ApiRequestOptions, response: ApiResult, message: string)

Source from the content-addressed store, hash-verified

13 public readonly request: ApiRequestOptions;
14
15 constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16 super(message);
17
18 this.name = 'ApiError';
19 this.url = response.url;
20 this.status = response.status;
21 this.statusText = response.statusText;
22 this.body = response.body;
23 this.request = request;
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected