MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isJoseErrorCode

Function isJoseErrorCode

apps/cloud/src/mcp/jwt.ts:49–49  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

47 isJoseErrorCodeShape(cause) ? cause.code : null;
48
49const isJoseErrorCode = (code: string): boolean => code.startsWith("ERR_J");
50
51const classifyJwtVerificationError = (cause: unknown): McpJwtVerificationError =>
52 new McpJwtVerificationError({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected