MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / constructor

Method constructor

packages/ethereum-viewer/src/util/fetch.ts:19–24  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

17
18export class RequestError extends Error {
19 constructor(message: string) {
20 super(message);
21 if (typeof Object.setPrototypeOf === "function") {
22 Object.setPrototypeOf(this, RequestError.prototype);
23 }
24 }
25}
26
27export class RequestNotFoundError extends RequestError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected