Skip to content

Commit 22da57f

Browse files
mnd999renetapopovaHunterness
committed
Apply suggestions from code review
Co-authored-by: Reneta Popova <[email protected]> Co-authored-by: Therese Magnusson <[email protected]>
1 parent f0a3ff7 commit 22da57f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error: data exception - graph type element not found. The `{ <<entityType>> }` e
55

66
== Explanation
77
This error occurs when a graph type definition references an element type (such as a node or relationship) using an alias that has not been defined, or by an identifying reference where there is no graph type element identified by that reference.
8-
If the referenced node or relationship type does not exist, the operation cannot proceed and this error is returned to indicate the missing element.
8+
If the referenced node or relationship type does not exist, the operation cannot proceed and will return an error to indicate the missing element.
99

1010
== Example scenarios
1111

@@ -25,7 +25,7 @@ The query returns an error with GQLSTATUS 22NC5 and the status description:
2525
----
2626
error: data exception - graph type element not found. The node type element referenced by '(:Node =>)' does not exist.
2727
----
28-
In this case, you can make the reference to be non-identifying, or you can define the node type element before this operation:
28+
In this case, you can make the reference non-identifying, or you can define the node type element before this operation:
2929

3030
[source,cypher]
3131
----

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= 22NC8
22

33
== Status description
4-
error: data exception - graph type contains duplicated tokens. The graph type includes a label, a relationship type, or an alias with the name `{ <<token>> }` more than once.more than once.
4+
error: data exception - graph type contains duplicated tokens. The graph type includes a label, a relationship type, or an alias with the name `{ <<token>> }` more than once.
55

66
== Explanation
77
This error occurs when a graph type definition attempts to use the same name for more than one label, relationship type, or alias within the same scope.
@@ -10,6 +10,7 @@ To resolve this error, ensure all labels, relationship types, and aliases are un
1010

1111
== Example scenarios
1212
Let's take the following example scenarios:
13+
1314
=== Aliases
1415

1516
For example, try to define two node element types using the same alias as follows:

0 commit comments

Comments
 (0)