ForbiddenActionExtensions
Type Alias: ForbiddenActionExtensions
ForbiddenActionExtensions:
object
Defined in: src/utilities/TalawaGraphQLError.ts:51
When the client tries to perform an action that conflicts with real world expectations of the application.
Type declaration
code
code:
"forbidden_action"
Example
throw new TalawaGraphQLError(
{
extensions: {
code: "forbidden_action",
},
},
);