Skip to main content

ArgumentsAssociatedResourcesNotFoundExtensions

Admin Docs


Type Alias: ArgumentsAssociatedResourcesNotFoundExtensions

ArgumentsAssociatedResourcesNotFoundExtensions: object

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

When resources associated to the provided graphql arguments cannot be not found.

Type declaration

code

code: "arguments_associated_resources_not_found"

issues

issues: object[]

Example

throw new TalawaGraphQLError({
extensions: {
code: "arguments_associated_resources_not_found",
issues: [
{
argumentPath: ["input", 0, "id"],
},
{
argumentPath: ["input", 3, "id"],
},
{
argumentPath: ["input", 19, "id"],
},
],
},
});