Skip to content

Commit 2c2494a

Browse files
Add data exception codes. Part 1. (#186)
Co-authored-by: Louise Berglund <[email protected]>
1 parent de4096c commit 2c2494a

File tree

1 file changed

+123
-2
lines changed

1 file changed

+123
-2
lines changed

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

Lines changed: 123 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following page provides an overview of all GQLSTATUS server error codes in N
88
All errors in Neo4j have severity level `ERROR`.
99

1010
* <<_connection-exceptions, Connection exceptions>>
11-
11+
* <<_data-exceptions, Data exceptions>>
1212

1313
[[_connection-exceptions]]
1414
== Connection exceptions
@@ -97,4 +97,125 @@ Status description:: error: connection exception - alias chains are not permitte
9797

9898
=== 08N15
9999

100-
Status description:: error: connection exception - no such routing policy. Policy definition of the routing policy { $routingPolicy } could not be found. Verify that the spelling is correct.
100+
Status description:: error: connection exception - no such routing policy. Policy definition of the routing policy { $routingPolicy } could not be found. Verify that the spelling is correct.
101+
102+
[[_data-exceptions]]
103+
== Data exceptions
104+
105+
Database exceptions occur when a client request contains the wrong format, types, or other unsupported input.
106+
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.
107+
108+
=== 22N00
109+
110+
Status description:: error: data exception - unsupported value. The provided value is unsupported and cannot be processed.
111+
112+
=== 22N01
113+
114+
Status description:: error: data exception - invalid type.
115+
Expected the value { $value } to be of type { $valueTypeList }, but was of type { $valueType }.
116+
117+
=== 22N02
118+
119+
Status description:: error: data exception - specified negative numeric value. Expected { $option } to be a positive number but found { $value } instead.
120+
121+
=== 22N03
122+
123+
Status description:: error: data exception - specified numeric value out of range. Expected { $component } to be of type { $valueType } and in the range { $lower } to { $upper } but found { $value }.
124+
125+
=== 22N04
126+
127+
Status description:: error: data exception - invalid input value. Invalid input { $input } for { $context }. Expected one of { $inputList }.
128+
129+
=== 22N05
130+
131+
Status description:: error: data exception - input failed validation. Invalid input { $input } for { $context }.
132+
133+
=== 22N06
134+
135+
Status description:: error: data exception - empty input string. Invalid input. { $option } needs to be specified.
136+
137+
=== 22N07
138+
139+
Status description:: error: data exception - invalid pre-parser option key. Invalid pre-parser option(s): { $optionList }.
140+
141+
=== 22N08
142+
143+
Status description:: error: data exception - invalid pre-parser combination. Invalid pre-parser option, cannot combine { $option1 } with { $option2 }.
144+
145+
=== 22N09
146+
147+
Status description:: error: data exception - conflicting pre-parser combination. Invalid pre-parser option, cannot specify multiple conflicting values for { $option }.
148+
149+
=== 22N10
150+
151+
Status description:: error: data exception - invalid pre-parser option value. Invalid pre-parser option, specified { $input } is not valid for option { $option }. Valid options are: { $optionList }.
152+
153+
=== 22N11
154+
155+
Status description:: error: data exception - invalid argument. Invalid argument: cannot process { $input }.
156+
157+
=== 22N12
158+
159+
Status description:: error: data exception - invalid date, time, or datetime format. Invalid argument: cannot process { $input }.
160+
161+
=== 22N13
162+
163+
Status description:: error: data exception - invalid time zone. Specified time zones must include a date component.
164+
165+
=== 22N14
166+
167+
Status description:: error: data exception - invalid temporal value combination. Cannot select both { $temporal } and { $component }.
168+
169+
=== 22N15
170+
171+
Status description:: error: data exception - invalid temporal component. Cannot read the specified { $component } component from { $temporal }.
172+
173+
=== 22N16
174+
175+
Status description:: error: data exception - invalid import value. Importing entity values to a graph with a USE clause is not supported. Attempted to import { $expr } to { $graph }.
176+
177+
// === 22N17
178+
179+
// Status description:: error: data exception - invalid date, time, or datetime function field name. Cannot read the specified { $component } component from { $temporal }.
180+
181+
=== 22N18
182+
183+
Status description:: error: data exception - incomplete spatial value. A { $crs } POINT must contain { $mapKeyList }.
184+
185+
=== 22N19
186+
187+
Status description:: error: data exception - invalid spatial value. A POINT must contain either 'x' and 'y', or 'latitude' and 'longitude'.
188+
189+
=== 22N20
190+
191+
Status description:: error: data exception - invalid spatial value dimensions. Cannot create POINT with { $dim1 }D coordinate reference system (CRS) and { $value } coordinates. Use the equivalent { $dim2 }D coordinate reference system instead.
192+
193+
=== 22N21
194+
195+
Status description:: error: data exception - unsupported coordinate reference system. Unsupported coordinate reference system (CRS): { $crs }.
196+
197+
=== 22N22
198+
199+
Status description:: error: data exception - invalid spatial value combination. Cannot specify both coordinate reference system (CRS) and spatial reference identifier (SRID).
200+
201+
=== 22N23
202+
203+
Status description:: error: data exception - invalid latitude value. Cannot create WGS84 POINT with invalid coordinate: { $coordinates }. The valid range for the latitude coordinate is [-90, 90].
204+
205+
=== 22N24
206+
207+
Status description:: error: data exception - invalid coordinate arguments. Cannot construct a { $valueType } from { $coordinates }.
208+
209+
=== 22N25
210+
211+
Status description:: error: data exception - invalid temporal arguments. Cannot construct a { $valueType } from { $temporal }.
212+
213+
=== 22N26
214+
215+
Status description:: error: data exception - unsupported rounding mode. Unknown rounding mode. Valid values are: CEILING, FLOOR, UP, DOWN, HALF_EVEN, HALF_UP, HALF_DOWN, UNNECESSARY.
216+
217+
=== 22N27
218+
219+
Status description:: error: data exception - invalid entity type. Invalid input { $input } for { $variable }. Expected to be one of { $valueTypeList }.
220+
221+

0 commit comments

Comments
 (0)