Skip to content

Commit 188c4d1

Browse files
Victor LeeVictor Lee
authored andcommitted
DOC-2286-add-gsql-errorcode
1 parent 76348d0 commit 188c4d1

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

modules/reference/pages/return-codes.adoc

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ Query parameter errors.
169169
| `GSQL-1002`
170170
| General parameter error.
171171

172+
| `GSQL-1015`
173+
| Invalid parameter type.
174+
172175
| `GSQL-1020`
173176
| Invalid parameters.
174177
|===
@@ -185,6 +188,9 @@ JSON string related errors.
185188

186189
| `GSQL-2011`
187190
| JSON array format error.
191+
192+
| `GSQL-2012`
193+
| JSON object is missing a field.
188194
|===
189195

190196
==== 2500 - 2999
@@ -214,6 +220,12 @@ Operator errors.
214220

215221
| `GSQL-2621`
216222
| The query contains an out-of-bounds array index.
223+
224+
| `GSQL-2700`
225+
| Global variable not found.
226+
227+
| `GSQL-2701`
228+
| ValuePtr holds null pointer.
217229
|===
218230

219231
==== 3000 - 3999
@@ -267,22 +279,31 @@ Vertex type, edge type, and ID translation errors
267279

268280
==== 5000 - 5499
269281

270-
Print errors.
282+
Print, I/O, or file system errors.
271283

272284
|===
273285
| Code | Description
274286

275-
| `GSQL-5101`
276-
| A file referenced in the query cannot be opened.
287+
| `GSQL-5001`
288+
| File does not exist.
277289

278290
| `GSQL-5101`
279291
| A file referenced in the query does not exist.
280292

293+
| `GSQL-5102`
294+
| File is not a regular file.
295+
281296
| `GSQL-5105`
282297
| GSQL was denied access to a file referenced in the query.
283298

284299
| `GSQL-5111`
285300
| A file referenced in the query cannot be read.
301+
302+
| `GSQL-5201`
303+
| File input policy violation.
304+
305+
| `GSQL-5301`
306+
| Connection error writing to S3.
286307
|===
287308

288309
==== 6000 - 6499
@@ -297,6 +318,9 @@ Errors related to updating the graph.
297318

298319
| `GSQL-6001`
299320
| Unsupported type of attribute update.
321+
322+
| `GSQL-6003`
323+
| Graph update aborted.
300324
|===
301325

302326
==== 6500 - 6999
@@ -306,6 +330,9 @@ Errors related to updating the graph.
306330

307331
| `GSQL-6500`
308332
| The query was aborted by the user.
333+
334+
| `GSQL-6510`
335+
| The query was aborted due to its memory usage exceeds the specified limit.
309336
|===
310337

311338
==== 7000 - 7999
@@ -315,6 +342,9 @@ Built-in query errors.
315342
|===
316343
| Code | Description
317344

345+
| `GSQL-7001`
346+
| API not supported.
347+
318348
| `GSQL-7002`
319349
| The query timed out.
320350
|===

0 commit comments

Comments
 (0)