Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ TRPCError } from
'@trpc/server'
;
2
3
export
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