Skip to content

Commit f2ada6a

Browse files
committed
Add explanations
1 parent 6f23a4d commit f2ada6a

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

modules/ROOT/pages/errors/gql-errors/22NCC.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
error: data exception - node element type specified incorrectly. The node element type `{ <<graphTypeElement>> }` identified by the label `{ <<label>> }` is different to the one specified in the query `{ <<graphTypeElement>> }`.
55

66
== Explanation
7+
This error occurs when attempting to drop a node element type from the graph type, but the specified element type does not match the existing one for the given label.
78

9+
When dropping an element type, it is not necessary to specify the full element type; you can simply specify the label. If you do specify an element type, it must match exactly with the existing one in the graph type.
810

911
== Example scenario
1012

modules/ROOT/pages/errors/gql-errors/22NCD.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
error: data exception - relationship element type specified incorrectly. The relationship element type `{ <<graphTypeElement>> }` identified by the relationship type `{ <<relType>> }` is different to the one specified in the query `{ <<graphTypeElement>> }`.
55

66
== Explanation
7+
This error occurs when attempting to drop a relationship element type from the graph type, but the specified element type does not match the existing one for the given relationship type.
8+
9+
When dropping an element type, it is not necessary to specify the full element type; you can simply specify the relationship type. If you do specify an element type, it must match exactly with the existing one in the graph type.
710

811
== Example scenario
912

modules/ROOT/pages/errors/gql-errors/22NCE.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
error: data exception - node element type in use. The node element type identified by the label `{ <<label>> }` is referenced in the graph type element `{ <<graphTypeReference>> }` and cannot be dropped.
55

66
== Explanation
7+
This error occurs when attempting to drop a node element type from the graph type, but the node element type is still being referenced by a relationship element type in the graph type. To successfully drop the node element type, you must first drop any relationship element types that reference it, or remove it from the relationship element types.
78

89
== Example scenario
910

modules/ROOT/pages/errors/gql-errors/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,11 +697,11 @@ Status description:: error: data exception - relationship element type already e
697697

698698
=== xref:errors/gql-errors/22NCC.adoc[22NCC]
699699

700-
Status description:: error: data exception - node element type specified incorrectly. The node element type `{ <<graphTypeElement1>> }` identified by the label `{ <<label>> }` is different to the one specified in the query `{ <<graphTypeElement2>> }`.
700+
Status description:: error: data exception - node element type specified incorrectly. The node element type `{ <<graphTypeElement>> }` identified by the label `{ <<label>> }` is different to the one specified in the query `{ <<graphTypeElement>> }`.
701701

702702
=== xref:errors/gql-errors/22NCD.adoc[22NCD]
703703

704-
Status description:: error: data exception - relationship element type specified incorrectly. The relationship element type `{ <<graphTypeElement1>> }` identified by the relationship type `{ <<relType>> }` is different to the one specified in the query `{ <<graphTypeElement2>> }`.
704+
Status description:: error: data exception - relationship element type specified incorrectly. The relationship element type `{ <<graphTypeElement>> }` identified by the relationship type `{ <<relType>> }` is different to the one specified in the query `{ <<graphTypeElement>> }`.
705705

706706
=== xref:errors/gql-errors/22NCE.adoc[22NCE]
707707

0 commit comments

Comments
 (0)