Skip to content

Commit 4cea064

Browse files
committed
Add explanations
1 parent 6f23a4d commit 4cea064

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
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

0 commit comments

Comments
 (0)