UnauthorizedActionOnArgumentsAssociatedResourcesExtensions
Type Alias: UnauthorizedActionOnArgumentsAssociatedResourcesExtensions
UnauthorizedActionOnArgumentsAssociatedResourcesExtensions =
object
Defined in: src/utilities/TalawaGraphQLError.ts:203
When the client is not authorized to perform an action on a resource associated to an argument.
Example
throw new TalawaGraphQLError({
extensions: {
code: "unauthorized_action_on_arguments_associated_resources",
issues: [
{
argumentPath: ["input", "id"],
},
],
},
});
Properties
code
code:
"unauthorized_action_on_arguments_associated_resources"
Defined in: src/utilities/TalawaGraphQLError.ts:207
issues
issues:
object[]
Defined in: src/utilities/TalawaGraphQLError.ts:204
argumentPath
argumentPath:
JSONArgumentPathKey[]