File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -176,25 +176,6 @@ public function runStatements(iterable $statements): CypherList
176176 return new CypherList ($ tbr );
177177 }
178178
179- /**
180- * @throws Neo4jException
181- */
182- private function handleMessageException (Neo4jException $ e ): never
183- {
184- $ exception = $ e ->getErrors ()[0 ];
185- if (!($ exception ->getClassification () === 'ClientError ' && $ exception ->getCategory () === 'Request ' )) {
186- $ this ->connection ->reset ();
187- }
188- if (!$ this ->isFinished () && in_array (
189- $ exception ->getClassification (),
190- TransactionHelper::ROLLBACK_CLASSIFICATIONS
191- )) {
192- $ this ->state = TransactionState::ROLLED_BACK ;
193- }
194-
195- throw $ e ;
196- }
197-
198179 public function isRolledBack (): bool
199180 {
200181 return $ this ->state === TransactionState::ROLLED_BACK || $ this ->state === TransactionState::TERMINATED ;
You can’t perform that action at this time.
0 commit comments