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

Class

packages/trpc/src/errors.ts:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TRPCError } from '@trpc/server';
2
3export class TRPCAccessError extends TRPCError {
4 constructor(message: string) {
5 super({ code: 'UNAUTHORIZED', message });
6 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected