Optionalerror?: ErrorLikeIf the mutation produces one or more errors, this object contains either an array of graphQLErrors or a single networkError. Otherwise, this value is undefined.
For more information, see Handling operation errors.
The data returned from your mutation. Can be undefined if the errorPolicy
is all or ignore and the server returns a GraphQL response with errors
but not data or a network error is returned.
Optionalerror?: neverIf the mutation produces one or more errors, this object contains either an array of graphQLErrors or a single networkError. Otherwise, this value is undefined.
For more information, see Handling operation errors.
The data returned from your mutation. Can be undefined if the errorPolicy
is all or ignore and the server returns a GraphQL response with errors
but not data or a network error is returned.
Optionalerror?: neverIf the mutation produces one or more errors, this object contains either an array of graphQLErrors or a single networkError. Otherwise, this value is undefined.
For more information, see Handling operation errors.
The data returned from your mutation. Can be undefined if the errorPolicy
is all or ignore and the server returns a GraphQL response with errors
but not data or a network error is returned.
Optionalerror?: ErrorLikeIf the mutation produces one or more errors, this object contains either an array of graphQLErrors or a single networkError. Otherwise, this value is undefined.
For more information, see Handling operation errors.
The data returned from your mutation. Can be
undefinedif theerrorPolicyisallorignoreand the server returns a GraphQL response witherrorsbut notdataor a network error is returned.