This PR changes how exceptions are generated from error codes. Now exceptions that inherit from Neo4jException can be marked with the ErrorCode attribute, which allows the code that causes the exception to be specified. This type of exception will then automatically be thrown when that error code is received from the server.
This PR changes how exceptions are generated from error codes. Now exceptions that inherit from Neo4jException can be marked with the
ErrorCode
attribute, which allows the code that causes the exception to be specified. This type of exception will then automatically be thrown when that error code is received from the server.