Commit b66c14c
authored
Handle Neo.ClientError.Security.AuthorizationExpired (#540)
* Handle Neo.ClientError.Security.AuthorizationExpired
- Close the connection and mark all idle connections in the pool as expired
- Raise the error to the user or do a retry if inside transaction function
Refactoring shared code of Bolt 3 and Bolt 4 connection into base class.1 parent f7a2e86 commit b66c14c
File tree
15 files changed
+530
-377
lines changed- neo4j
- io
- work
- testkitbackend
- tests/unit/io
15 files changed
+530
-377
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| |||
0 commit comments