Skip to content

Commit 182a56a

Browse files
gfx54bLojjs
andauthored
Extend 52N11/17 with message (#393)
Co-authored-by: Louise Berglund <[email protected]>
1 parent 57ceb3d commit 182a56a

File tree

3 files changed

+38
-4
lines changed

3 files changed

+38
-4
lines changed

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
= 52N11
22

33
== Status description
4-
error: procedure exception - generic topology procedure error. An unexpected error has occurred. Please refer to the server's debug log for more information.
4+
error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`.
5+
6+
== Example scenario
7+
8+
For example, trying to set default number of primaries to 12:
9+
10+
[source,cypher]
11+
----
12+
CALL dbms.setDefaultAllocationNumbers(12,0);
13+
----
14+
15+
You will receive an error with GQLSTATUS xref:errors/gql-errors/52N02.adoc[52N02].
16+
This error has a cause detailed in xref:errors/gql-errors/52N11.adoc[52N11] and status description:
17+
18+
[source]
19+
----
20+
error: procedure exception - generic topology procedure error. An unexpected error has occurred: Number of primaries '12' may not exceed 11 and needs to be at least 1.
21+
----
522

623
ifndef::backend-pdf[]
724
[discrete.glossary]

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
= 52N17
22

33
== Status description
4-
error: procedure exception - quarantine change failed. Setting/removing the quarantine marker failed.
4+
error: procedure exception - quarantine change failed. Setting/removing the quarantine marker failed: `{ <<msg>> }`.
5+
6+
== Example scenario
7+
8+
For example, trying to lift a quarantine which does not exist:
9+
10+
[source,cypher]
11+
----
12+
CALL dbms.unquarantineDatabase("0c000000", "neo4j");
13+
----
14+
15+
You will receive an error with GQLSTATUS xref:errors/gql-errors/52N02.adoc[52N02].
16+
This error has a cause detailed in xref:errors/gql-errors/52N17.adoc[52N11] and status description:
17+
18+
[source]
19+
----
20+
error: quarantine change failed. Setting/removing the quarantine marker failed: Database 'neo4j' on server '0c000000-aa21-4ab4-b1c1-aed40bfcb875' is not in quarantine.
21+
----
522

623
ifndef::backend-pdf[]
724
[discrete.glossary]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,7 +1967,7 @@ Status description:: error: procedure exception - invalid address key. An addres
19671967

19681968
=== xref:errors/gql-errors/52N11.adoc[52N11]
19691969

1970-
Status description:: error: procedure exception - generic topology procedure error. An unexpected error has occurred. Please refer to the server's debug log for more information.
1970+
Status description:: error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`
19711971

19721972
=== xref:errors/gql-errors/52N12.adoc[52N12]
19731973

@@ -1987,7 +1987,7 @@ Status description:: error: procedure exception - invalid procedure argument lis
19871987

19881988
=== xref:errors/gql-errors/52N17.adoc[52N17]
19891989

1990-
Status description:: error: procedure exception - quarantine change failed. Setting/removing the quarantine marker failed.
1990+
Status description:: error: procedure exception - quarantine change failed. Setting/removing the quarantine marker failed: `{ <<msg>> }`
19911991

19921992
=== xref:errors/gql-errors/52N18.adoc[52N18]
19931993

0 commit comments

Comments
 (0)