Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@
**** xref:errors/gql-errors/08N16.adoc[]
**** xref:errors/gql-errors/08N17.adoc[]
**** xref:errors/gql-errors/08N18.adoc[]
**** xref:errors/gql-errors/08N19.adoc[]
**** xref:errors/gql-errors/08N20.adoc[]
**** xref:errors/gql-errors/08N21.adoc[]
*** xref:errors/gql-errors/index.adoc#data-exceptions[Data exceptions]
**** xref:errors/gql-errors/22000.adoc[]
**** xref:errors/gql-errors/22003.adoc[]
**** xref:errors/gql-errors/22004.adoc[]
**** xref:errors/gql-errors/22007.adoc[]
**** xref:errors/gql-errors/22012.adoc[]
**** xref:errors/gql-errors/22015.adoc[]
**** xref:errors/gql-errors/22G03.adoc[]
**** xref:errors/gql-errors/22G05.adoc[]
Expand Down Expand Up @@ -247,6 +252,7 @@
**** xref:errors/gql-errors/42N07.adoc[]
**** xref:errors/gql-errors/42N08.adoc[]
**** xref:errors/gql-errors/42N09.adoc[]
**** xref:errors/gql-errors/42N0A.adoc[]
**** xref:errors/gql-errors/42N0B.adoc[]
**** xref:errors/gql-errors/42N10.adoc[]
**** xref:errors/gql-errors/42N11.adoc[]
Expand Down Expand Up @@ -275,6 +281,9 @@
**** xref:errors/gql-errors/42N37.adoc[]
**** xref:errors/gql-errors/42N38.adoc[]
**** xref:errors/gql-errors/42N39.adoc[]
**** xref:errors/gql-errors/42N3A.adoc[]
**** xref:errors/gql-errors/42N3B.adoc[]
**** xref:errors/gql-errors/42N3C.adoc[]
**** xref:errors/gql-errors/42N40.adoc[]
**** xref:errors/gql-errors/42N41.adoc[]
**** xref:errors/gql-errors/42N42.adoc[]
Expand Down Expand Up @@ -353,6 +362,9 @@
**** xref:errors/gql-errors/50N15.adoc[]
**** xref:errors/gql-errors/50N16.adoc[]
**** xref:errors/gql-errors/50N17.adoc[]
**** xref:errors/gql-errors/50N18.adoc[]
**** xref:errors/gql-errors/50N19.adoc[]
**** xref:errors/gql-errors/50N20.adoc[]
**** xref:errors/gql-errors/50N21.adoc[]
**** xref:errors/gql-errors/50N23.adoc[]
**** xref:errors/gql-errors/50N42.adoc[]
Expand Down Expand Up @@ -448,6 +460,7 @@
**** xref:errors/gql-errors/52N17.adoc[]
**** xref:errors/gql-errors/52N18.adoc[]
**** xref:errors/gql-errors/52N19.adoc[]
**** xref:errors/gql-errors/52N21.adoc[]
**** xref:errors/gql-errors/52N22.adoc[]
**** xref:errors/gql-errors/52N23.adoc[]
**** xref:errors/gql-errors/52N24.adoc[]
Expand Down
12 changes: 12 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/08N19.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
= 08N19

== Status description
error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
12 changes: 12 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/08N20.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
= 08N20

== Status description
error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
12 changes: 12 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/08N21.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
= 08N21

== Status description
error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/22004.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 22004

== Status description

error: data exception - null value not allowed


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/22012.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 22012

== Status description

error: data exception - division by zero


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42N0A.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 42N0A

== Status description

error: syntax error or access rule violation - invalid shard target. `{ <<action>> }` is not allowed with a shard target. Connect to `{ <<db>>1 }` in order to read or write data from `{ db2 }`.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42N3A.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 42N3A

== Status description

error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42N3B.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 42N3B

== Status description

error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42N3C.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 42N3C

== Status description

error: syntax error or access rule violation - invalid use of `CALL { ... }`. Not possible to enclose `{ <<clause>> }` in `CALL { ... }`. Use `CALL () { ... }` instead.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/50N18.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 50N18

== Status description

error: general processing exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. See cause for more details.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/50N19.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 50N19

== Status description

error: general processing exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. See cause for more details.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/50N20.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 50N20

== Status description

error: general processing exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. See cause for more details.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
13 changes: 13 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/52N21.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= 52N21

== Status description

error: procedure exception - failed to clean the system graph. Failed to clean the system graph.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
56 changes: 55 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ Status description:: error: connection exception - general driver transient erro

Status description:: error: connection exception - general driver database error. Remote execution failed with message `{ <<msg>> }`.

=== xref:errors/gql-errors/08N19.adoc[08N19]

Status description:: error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what it says in the codebase, but I am a bit sceptical about the sentence with a dot followed by a lowercase with in this and the next two errors. Perhaps we can make a card for composite about changing this in codebase and docs later


=== xref:errors/gql-errors/08N20.adoc[08N20]

Status description:: error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.

=== xref:errors/gql-errors/08N21.adoc[08N21]

Status description:: error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.


[[data-exceptions]]
== Data exceptions

Expand All @@ -117,10 +130,18 @@ Status description:: error: data exception

Status description:: error: data exception - numeric value out of range. The numeric value `{ <<value>> }` is outside the required range.

=== xref:errors/gql-errors/22004.adoc[22004]

Status description:: error: data exception - null value not allowed

=== xref:errors/gql-errors/22007.adoc[22007]

Status description:: error: data exception - invalid date, time, or datetime format

=== xref:errors/gql-errors/22012.adoc[22012]

Status description:: error: data exception - division by zero

=== xref:errors/gql-errors/22015.adoc[22015]

Status description:: error: data exception - interval field overflow
Expand Down Expand Up @@ -1005,6 +1026,10 @@ Status description:: error: syntax error or access rule violation - no such proc

Status description:: error: syntax error or access rule violation - no such user. A user with the name `{ <<user>> }` was not found. Verify that the spelling is correct.

=== xref:errors/gql-errors/42N0A.adoc[42N0A]

Status description:: error: syntax error or access rule violation - invalid shard target. `{ <<action>> }` is not allowed with a shard target. Connect to `{ <<db>>1 }` in order to read or write data from `{ db2 }`.

=== xref:errors/gql-errors/42N0B.adoc[42N0B]

Status description:: error: syntax error or access rule violation - cannot replace sharded database. The database identified by `{ <<db>>1 }` is sharded. Drop the database `{ <<db>>2 }` before recreating.
Expand Down Expand Up @@ -1121,6 +1146,19 @@ Status description:: error: syntax error or access rule violation - duplicate re

Status description:: error: syntax error or access rule violation - incompatible return column names. All `{<<context>>}` must have the same return column names. Use `AS` to ensure columns have the same name.

=== xref:errors/gql-errors/42N3A.adoc[42N3A]

Status description:: error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.

=== xref:errors/gql-errors/42N3B.adoc[42N3B]

Status description:: error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.

=== xref:errors/gql-errors/42N3C.adoc[42N3C]

Status description:: error: syntax error or access rule violation - invalid use of `CALL { ... }`. Not possible to enclose `{ <<clause>> }` in `CALL { ... }`. Use `CALL () { ... }` instead.


=== xref:errors/gql-errors/42N40.adoc[42N40]

Status description:: error: syntax error or access rule violation - single relationship pattern required. The `{ <<fun>> }` function must contain one relationship pattern.
Expand All @@ -1135,7 +1173,7 @@ Status description:: error: syntax error or access rule violation - unsupported

=== xref:errors/gql-errors/42N44.adoc[42N44]

Status description:: error: syntax error or access rule violation - inaccessible variable. It is not possible to access the variable `{ <<var>> }` declared before the `{ <<clause>> }` clause when using `DISTINCT` or an aggregation.
Status description:: error: syntax error or access rule violation - inaccessible variable. It is not possible to access the variable `{ <<variable>> }` declared before the `{ <<clause>> }` clause when using `DISTINCT` or an aggregation.

=== xref:errors/gql-errors/42N45.adoc[42N45]

Expand Down Expand Up @@ -1439,6 +1477,18 @@ Status description:: error: general processing exception - remote execution tran

Status description:: error: general processing exception - remote execution database error. Remote execution failed. See cause for more details.

=== xref:errors/gql-errors/50N18.adoc[50N18]

Status description:: error: general processing exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. See cause for more details.

=== xref:errors/gql-errors/50N19.adoc[50N19]

Status description:: error: general processing exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. See cause for more details.

=== xref:errors/gql-errors/50N20.adoc[50N20]

Status description:: error: general processing exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. See cause for more details.

=== xref:errors/gql-errors/50N21.adoc[50N21]

Status description:: error: general processing exception - no such schema descriptor. The `{ <<schemaDescrType>> }` was not found for `{ <<schemaDescr>> }`. Verify that the spelling is correct.
Expand Down Expand Up @@ -1870,6 +1920,10 @@ Status description:: error: procedure exception - too many seeders. The number o

Status description:: error: procedure exception - no such seeder. The specified seeding server with id `{ <<server>> }` was not found. Verify that the spelling is correct.

=== xref:errors/gql-errors/52N21.adoc[52N21]

Status description:: error: procedure exception - failed to clean the system graph. Failed to clean the system graph.

=== xref:errors/gql-errors/52N22.adoc[52N22]

Status description:: error: procedure exception - invalid procedure argument. Invalid argument `{ <<field>> }` for `{ <<procParam>> }` on procedure `{ <<proc>> }`. The expected format of `{ <<procParam>> }` is `{ <<procParamFmt>> }`.
Expand Down