Function: forbiddenMessage()
ts
function forbiddenMessage(requirement): string;Defined in: packages/next/src/responses.ts:13
Like spatie, the message names the kind of requirement but not the role/permission names.
Parameters
| Parameter | Type |
|---|---|
requirement | Requirement |
Returns
string
