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