Skip to main content

UnauthorizedActionExtensions

API Docs


Type Alias: UnauthorizedActionExtensions

UnauthorizedActionExtensions = object

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

When the client is not authorized to perform an action.

Example

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

Properties

code

code: "unauthorized_action"

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