Skip to content

Commit 95c9775

Browse files
gfx54brenetapopova
authored andcommitted
Adding example
1 parent b0dd9b4 commit 95c9775

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
= 52N11
22

33
== Status description
4-
error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`
4+
error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`.
55

66
== Example scenario
77

8-
For example, trying to set default number of primaries to 12.:
8+
For example, trying to set default number of primaries to 12:
99

1010
[source,cypher]
1111
----
@@ -17,7 +17,7 @@ This error has a cause detailed in xref:errors/gql-errors/52N11.adoc[52N11] and
1717

1818
[source]
1919
----
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
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.
2121
----
2222

2323
ifndef::backend-pdf[]

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: `{ <<msg>> }`
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]

0 commit comments

Comments
 (0)