MCPcopy Create free account
hub / github.com/Ironclad/rivet-example / constructor

Method constructor

server/src/other/classes.ts:13–16  ·  view source on GitHub ↗
(status: HttpStatusCodes, message: string)

Source from the content-addressed store, hash-verified

11export class RouteError extends Error {
12 status: HttpStatusCodes;
13 constructor(status: HttpStatusCodes, message: string) {
14 super(message);
15 this.status = status;
16 }
17}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected