Skip to content

Commit 6e706d8

Browse files
Add standard defined GQLSTATUS codes for data exceptions (#201)
Co-authored-by: Louise Berglund <[email protected]>
1 parent 1d5ecd0 commit 6e706d8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ Status description:: error: connection exception - no such routing policy. Polic
100100
Database exceptions occur when a client request contains the wrong format, types, or other unsupported input.
101101
Some examples are data and constraint creation, which conflicts with existing constraints, properties of non-storable type, and spatial and temporal values with invalid components.
102102

103+
=== 22000
104+
105+
Status description:: error: data exception
106+
107+
=== 22003
108+
109+
Status description:: error: data exception - numeric value out of range. The numeric value `{ $value }` is outside the required range.
110+
103111
=== 22N00
104112

105113
Status description:: error: data exception - unsupported value. The provided value is unsupported and cannot be processed.
@@ -435,9 +443,9 @@ Status description:: error: data exception - numeric range 0 disallowed. Expecte
435443

436444
// Status description:: error: data exception - numeric range 0 or greater allowed. Expected a number that is zero or greater.
437445

438-
// === 22N88
446+
=== 22N88
439447

440-
// Status description:: error: data exception - not a valid CIDR IP. `{ $input }` is not a valid CIDR IP.
448+
Status description:: error: data exception - not a valid CIDR IP. `{ $input }` is not a valid CIDR IP.
441449

442450
=== 22N89
443451

0 commit comments

Comments
 (0)