Skip to content

Commit

Permalink
DOC-2286-add-gsql-errorcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Lee authored and Victor Lee committed Nov 5, 2024
1 parent 76348d0 commit 188c4d1
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions modules/reference/pages/return-codes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ Query parameter errors.
| `GSQL-1002`
| General parameter error.

| `GSQL-1015`
| Invalid parameter type.

| `GSQL-1020`
| Invalid parameters.
|===
Expand All @@ -185,6 +188,9 @@ JSON string related errors.

| `GSQL-2011`
| JSON array format error.

| `GSQL-2012`
| JSON object is missing a field.
|===

==== 2500 - 2999
Expand Down Expand Up @@ -214,6 +220,12 @@ Operator errors.

| `GSQL-2621`
| The query contains an out-of-bounds array index.

| `GSQL-2700`
| Global variable not found.

| `GSQL-2701`
| ValuePtr holds null pointer.
|===

==== 3000 - 3999
Expand Down Expand Up @@ -267,22 +279,31 @@ Vertex type, edge type, and ID translation errors

==== 5000 - 5499

Print errors.
Print, I/O, or file system errors.

|===
| Code | Description

| `GSQL-5101`
| A file referenced in the query cannot be opened.
| `GSQL-5001`
| File does not exist.

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

| `GSQL-5102`
| File is not a regular file.

| `GSQL-5105`
| GSQL was denied access to a file referenced in the query.

| `GSQL-5111`
| A file referenced in the query cannot be read.

| `GSQL-5201`
| File input policy violation.

| `GSQL-5301`
| Connection error writing to S3.
|===

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

| `GSQL-6001`
| Unsupported type of attribute update.

| `GSQL-6003`
| Graph update aborted.
|===

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

| `GSQL-6500`
| The query was aborted by the user.

| `GSQL-6510`
| The query was aborted due to its memory usage exceeds the specified limit.
|===

==== 7000 - 7999
Expand All @@ -315,6 +342,9 @@ Built-in query errors.
|===
| Code | Description

| `GSQL-7001`
| API not supported.

| `GSQL-7002`
| The query timed out.
|===
Expand Down

0 comments on commit 188c4d1

Please sign in to comment.