Skip to content

Commit 3cab69a

Browse files
l-heemannLojjs
authored andcommitted
Add GQL statuses
1 parent 8d60ba6 commit 3cab69a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ CYPHER 5 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
254254
----
255255
Failed to create the specified database alias 'garden.flowers': Database name or alias already exists.
256256
----
257+
The exception will have GQL Status code link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42001[42001 - invalid syntax] with the cause link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42N11[42N11 - graph reference already exists].
257258

258259
======
259260
@@ -276,6 +277,7 @@ CYPHER 25 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
276277
----
277278
Failed to create the specified database alias 'garden.flowers': Database name or alias already exists.
278279
----
280+
The exception will have GQL Status code link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42001[42001 - invalid syntax] with the cause link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42N11[42N11 - graph reference already exists].
279281
======
280282
=====
281283

@@ -299,7 +301,7 @@ CYPHER 5 CREATE ALIAS `garden`.`flowers` FOR DATABASE `northwind-graph`
299301
----
300302
Cannot create database 'garden' because another database 'garden.flowers' exists with an ambiguous name.
301303
----
302-
304+
The exception will have GQL Status code link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42N87[42N87 - database or alias with similar name exists].
303305
======
304306
305307
[role=include-with-cypher-25]
@@ -322,6 +324,7 @@ CYPHER 25 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
322324
----
323325
Cannot create database 'garden' because another database 'garden.flowers' exists with an ambiguous name.
324326
----
327+
The exception will have GQL Status code link:{neo4j-docs-base-uri}/status-codes/current/errors/gql-errors/42N87[42N87 - database or alias with similar name exists].
325328
======
326329
=====
327330

0 commit comments

Comments
 (0)