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

Class RouteError

server/src/other/classes.ts:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 * Error with status code and message
10 */
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