Skip to content

Commit d769932

Browse files
committed
Add GQL statuses
1 parent 250cab5 commit d769932

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
@@ -248,6 +248,7 @@ CYPHER 5 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
248248
----
249249
Failed to create the specified database alias 'garden.flowers': Database name or alias already exists.
250250
----
251+
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].
251252

252253
======
253254
@@ -270,6 +271,7 @@ CYPHER 25 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
270271
----
271272
Failed to create the specified database alias 'garden.flowers': Database name or alias already exists.
272273
----
274+
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].
273275
======
274276
=====
275277

@@ -293,7 +295,7 @@ CYPHER 5 CREATE ALIAS `garden`.`flowers` FOR DATABASE `northwind-graph`
293295
----
294296
Cannot create database 'garden' because another database 'garden.flowers' exists with an ambiguous name.
295297
----
296-
298+
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].
297299
======
298300
299301
[role=include-with-cypher-25]
@@ -316,6 +318,7 @@ CYPHER 25 CREATE ALIAS `garden.flowers` FOR DATABASE `northwind-graph`
316318
----
317319
Cannot create database 'garden' because another database 'garden.flowers' exists with an ambiguous name.
318320
----
321+
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].
319322
======
320323
=====
321324

0 commit comments

Comments
 (0)