Skip to main content

ArgumentsAssociatedResourcesNotFoundExtensions

API 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.

Example

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

Properties

code

code: "arguments_associated_resources_not_found"

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


issues

issues: object[]

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

argumentPath

argumentPath: (string | number)[]