MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / constructor

Method constructor

packages/trpc/src/errors.ts:22–24  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

20
21export class TRPCInternalServerError extends TRPCError {
22 constructor(message: string) {
23 super({ code: 'INTERNAL_SERVER_ERROR', message });
24 }
25}
26
27export class TRPCBadRequestError extends TRPCError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected