MCPcopy Create free account
hub / github.com/Forward-Future/loopy / constructor

Method constructor

loop-library/worker/src/index.js:51–56  ·  view source on GitHub ↗
(status, code, message, headers = {})

Source from the content-addressed store, hash-verified

49
50class RequestError extends Error {
51 constructor(status, code, message, headers = {}) {
52 super(message);
53 this.status = status;
54 this.code = code;
55 this.headers = headers;
56 }
57}
58
59export default {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected