Type Alias: RbacErrorBody
ts
type RbacErrorBody =
| {
error: "UNAUTHENTICATED";
message: string;
}
| {
error: "FORBIDDEN";
message: string;
reason: RequirementKind;
required?: string[][];
};Defined in: packages/tanstack-start/src/server.ts:49
The JSON body of a failed check: the same as the Express, Hono, Fastify and NestJS packages send.
