Skip to main content

UnauthorizedActionOnArgumentsAssociatedResourcesExtensions

Admin Docs


Type Alias: UnauthorizedActionOnArgumentsAssociatedResourcesExtensions

UnauthorizedActionOnArgumentsAssociatedResourcesExtensions: object

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

When the client is not authorized to perform an action on a resource associated to an argument.

Type declaration

code

code: "unauthorized_action_on_arguments_associated_resources"

issues

issues: object[]

Example

throw new TalawaGraphQLError({
extensions: {
code: "unauthorized_action_on_arguments_associated_resources",
issues: [
{
argumentPath: ["input", "id"],
},
],
},
});