Skip to main content

ForbiddenActionExtensions

API Docs


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.

Example

throw new TalawaGraphQLError(
{
extensions: {
code: "forbidden_action",
},
},
);

Properties

code

code: "forbidden_action"

Defined in: src/utilities/TalawaGraphQLError.ts:52