Skip to content

Commit 20287be

Browse files
authored
Update the code format (#50)
1 parent c2adb5c commit 20287be

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

modules/ROOT/pages/errors/all-errors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[[neo4j-errors]]
55
= List of all error codes
66

7-
This page contains lists of all neo4j errors, grouped by classification.
7+
This page contains lists of all neo4j errors, grouped by class.
88

99
== Client errors
1010

modules/ROOT/pages/errors/index.adoc

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,7 @@
44
= Error codes
55

66
Error codes are returned by the server when the execution of a query fails.
7-
Error codes have severity `ERROR`.
8-
9-
// [[error-format]]
10-
// == Error code fields
11-
12-
// The error code format is as follows:
13-
14-
15-
[[error-types]]
16-
== Types of error codes
17-
18-
All errors returned are classified into one of the following categories:
7+
They all have severity level `ERROR` and are grouped into one of the following classes:
198

209
Client errors::
2110
These errors are caused by the client and are usually related to the request itself.

modules/ROOT/pages/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Each status code follows the same format:
1111

1212
[source, status code format, role="noheader"]
1313
-----
14-
Neo.[Classification].[Category].[Title]
14+
Neo.[Class].[Subclass].[Name]
1515
-----
1616

1717
== Classification
@@ -24,7 +24,7 @@ The classification of the status code determines the effect on the transaction.
2424
[options="header", cols="<1m,<2,<1"]
2525
|===
2626

27-
| Classification
27+
| Class
2828
| Description
2929
| Effect on the transaction
3030

modules/ROOT/pages/notifications/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Contrary to error messages, notifications are only returned if the execution of
1111

1212
The notification object, which is part of the result summary, consists of the following fields:
1313

14-
* *Code* -- The status code in the form of `Neo.ClientNotification.[Category].[Title]`.
14+
* *Code* -- The status code in the form of `Neo.ClientNotification.[Subclass].[Name]`.
1515
* *Title* -- The description of the status code.
1616
* *Description* -- The description of a specific notification, which can contain details about the query being executed.
1717
* *Severity* -- The severity can be one of the following: +

0 commit comments

Comments
 (0)