Skip to content

Commit

Permalink
processed listing of status codes into individual pages
Browse files Browse the repository at this point in the history
  • Loading branch information
akollegger committed Aug 28, 2020
1 parent cf3463b commit a779d48
Show file tree
Hide file tree
Showing 128 changed files with 1,894 additions and 79 deletions.
8 changes: 8 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ git push origin HEAD:publish

At the end of the build process, the files are uploaded to the `static-content.neo4j.com` S3 Bucket. From there, they are synced up to the Neo4j.com server once an hour, on the hour by a cronjob.

== Pre-processing hints

Migrating https://neo4j.com/docs/status-codes/current/ HTML to individual adoc pages...

1. save as source HTML
2. convert to adoc using pandoc `pandoc --wrap=none -f html -t asciidoc neo4j-status-codes.html > codes.adoc`
3. edit by hand to trim down to the `|` delimited table
4. process that into individual pages `csvcut -c 1,2 -d "|" codes.csv | csvformat -U 1 -D " " | xargs -n2 sh -c 'echo "$2\n" > tmp/$1.adoc' sh`
2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Cluster.NotALeader.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request cannot be processed by this server. Write requests can only be processed by the leader.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referred to a database that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referred to a database that already exists.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Fabric.AccessMode.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request could not be completed due to access mode violation

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is a read only database, writing or modifying the database is not allowed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request contained fields that were empty or are not allowed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The transaction used more memory than was allowed. The maximum allowed size for a transaction can be configured with 'dbms.memory.transaction.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you are using Neo4j Desktop, found through the user interface).

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Failed to invoke a procedure. See the detailed error description for exact cause.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A request referred to a procedure that is not registered with this database instance. If you are deploying custom procedures in a cluster setup, ensure all instances in the cluster have the procedure jar file deployed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database failed to register a procedure, refer to the associated error message for details.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The procedure has not completed within the specified timeout. You may want to retry with a longer timeout.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Procedure.TypeError.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A procedure is using or receiving a value of an invalid type.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Request.Invalid.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The client provided an invalid request.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Request.InvalidFormat.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The client provided a request that was missing required fields, or had values that are not allowed.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Request.InvalidUsage.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The client made a request but did not consume outgoing buffers in a timely fashion.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to perform operation because it would clash with a pre-existing constraint.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request (directly or indirectly) referred to a constraint that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A constraint imposed by the database was violated.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added or changed index entry would violate constraint

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to perform operation because constraint with given name already exists.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to perform operation because an equivalent schema rule already exists.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A requested operation can not be performed on the specified index because the index is part of a constraint. If you want to drop the index, for instance, you must drop the constraint.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to perform operation because it would clash with a pre-existing index.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referenced an index by its schema, and multiple matching indexes were found.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request did not contain the properties required by the index.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Schema.IndexNotFound.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request (directly or indirectly) referred to an index that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to perform operation because index with given name already exists.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to create index or constraint because schema had a repeated label.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to create index or constraint because schema had a repeated property.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to create index or constraint because schema had a repeated relationship type.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Schema.TokenNameError.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A token name, such as a label, relationship type or property key, used is not valid. Tokens cannot be empty strings and cannot be null.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The client has provided incorrect authentication details too many times in a row.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The stored authorization info has expired. Please reconnect.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The credentials have expired and need to be updated.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Security.Forbidden.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
An attempt was made to perform an unauthorized action.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Security.Unauthorized.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The client is unauthorized due to authentication failure.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Statement.AccessMode.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request could not be completed due to access mode violation

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement is attempting to perform operations using invalid arguments

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Invalid use of arithmetic, such as dividing by zero.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A constraint imposed by the statement is violated by the data in the database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement refers to a non-existent entity.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Access to an external resource failed

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is an administration command and it should be executed against the system database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is an administration command and it should be executed against the LEADER server of the system database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement refers to a parameter that was not provided in the request.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement refers to a non-existent property.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This query is not supported by the chosen runtime.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement is syntactically valid, but expresses something that the database cannot do.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Statement.SyntaxError.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement contains invalid or unsupported syntax.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.ClientError.Statement.TypeError.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The statement is attempting to perform operations on values with types that are not supported by the operation.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The transaction is of the wrong type to service the request. For instance, a transaction that has had schema modifications performed in it cannot be used to subsequently perform data operations, and vice versa.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Supplied bookmark cannot be interpreted. You should only supply a bookmark that was previously generated by Neo4j. Maybe you have generated your own bookmark, or modified a bookmark since it was generated by Neo4j.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Mixing bookmarks generated by different databases is forbidden.You should only chain bookmarks that are generated from the same database. You may however chain bookmarks generated from system database with bookmarks from another database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There were concurrent requests accessing the same transaction, which is not allowed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Transaction hook failure.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Transaction was marked as both successful and failed. Failure takes precedence and so this transaction was rolled back although it may have looked like it was going to be committed

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referred to a transaction that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The transaction has not completed within the specified timeout (dbms.transaction.timeout). You may want to retry with a longer timeout.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Transaction changes did not pass validation checks

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The query used a procedure that generated a warning.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This query builds a cartesian product between disconnected patterns.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Queries using dynamic properties will use neither index seeks nor index scans for those properties

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The execution plan for this query contains the Eager operator, which forces all dependent data to be materialized in main memory before proceeding

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Exhaustive shortest path has been planned for your query that means that shortest path graph algorithm might not be used to find the shortest path. Hence an exhaustive enumeration of all paths might be used in order to find the requested shortest path.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This feature is experimental and should not be used in production systems.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This feature is deprecated and will be removed in future versions.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to plan a hinted join.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Adding a schema index may speed up this query.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This query is not supported by the chosen runtime.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Index cannot execute wildcard query efficiently

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The provided pattern is unbounded, consider adding an upper limit to the number of node hops.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The provided label is not in the database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The provided property key is not in the database

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The provided relationship type is not in the database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The limit to number of databases has been reached.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to start database.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.DatabaseError.Database.Unknown.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unknown database management error

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to execute a remote part of the statement.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request (directly or indirectly) referred to an index that is in a failed state. The index needs to be dropped and recreated manually.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A malformed schema rule was encountered. Please contact your support representative.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Expected set of files not found on disk. Please restore from backup.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
An unknown error occurred.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Creating a requested constraint failed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database failed to drop a requested constraint.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Failed to create an index.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database failed to drop a requested index.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request accessed a label that did not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request accessed a property that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request accessed a relationship type that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referred to a schema rule that does not exist.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The request referred to a schema rule that is defined multiple times.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The maximum number of tokens of this type has been reached, no more tokens of this type can be created.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to generate code for the query. A stacktrace can be found in the debug.log.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to execute the statement.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to execute a remote part of the statement.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to commit the transaction.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to write transaction to log.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to roll back the transaction.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database was unable to start the transaction.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Replication failure.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Neo.TransientError.Cluster.Routing.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to route the request to the appropriate server

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The database is not currently available to serve your request, refer to the database logs for more details. Retrying your request at a later time may succeed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The memory pool limit was exceeded. The corresponding setting can be found in the error message

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There is not enough memory to perform the current task. Please try increasing 'dbms.memory.heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation increase the heap by using '-Xmx' command line flag, and then restart the database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There is not enough stack size to perform the current task. This is generally considered to be a database error, so please contact Neo4j support. You could try increasing the stack size: for example to set the stack size to 2M, add dbms.jvm.additional=-Xss2M' to in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation just add -Xss2M as command line flag.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There is not enough memory to perform the current task. Please try increasing 'dbms.memory.off_heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you are using Neo4j Desktop, found through the user interface), and then restart the database.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
There are no available threads to serve this request at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
An auth provider request failed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
An auth provider request timed out.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The user was modified concurrently to this request.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bookmark wait timed out. Database has not reached the specified version

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Database constraints changed since the start of this transaction

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This transaction, and at least one more transaction, has acquired locks in a way that it will wait indefinitely, and the database has aborted it. Retrying this transaction will most likely be successful.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Interrupted while waiting.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The lease under which this transaction was started is no longer valid.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to acquire lock within configured timeout (dbms.lock.acquisition.timeout).

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The transaction has been terminated, so no more locks can be acquired. This can occur because the transaction ran longer than the configured transaction timeout, or because a human operator manually terminated the transaction, or because the database is shutting down.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Unable to start new transaction since the maximum number of concurrently executing transactions is reached (dbms.transaction.concurrent.maximum). You can retry at a later time or consider increasing allowed maximum of concurrent transactions.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Transaction has seen state which has been invalidated by applied updates while transaction was active. Transaction may succeed if retried.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Explicitly terminated by the user.

3 changes: 3 additions & 0 deletions modules/ROOT/pages/Neo4j.Product.Component.ExampleError.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

This is an example/template for how to document error codes.

2 changes: 2 additions & 0 deletions modules/ROOT/pages/Status Code.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Description

Loading

0 comments on commit a779d48

Please sign in to comment.