We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a167a commit 1b16f9aCopy full SHA for 1b16f9a
1 file changed
lib/src/errors.rs
@@ -137,6 +137,7 @@ pub enum Neo4jSecurityErrorKind {
137
Authentication,
138
AuthorizationExpired,
139
TokenExpired,
140
+ Forbidden,
141
Other,
142
Unknown,
143
}
@@ -174,6 +175,9 @@ impl Neo4jErrorKind {
174
175
(Some("Security"), Some("TokenExpired")) => Self::Client(
176
Neo4jClientErrorKind::Security(Neo4jSecurityErrorKind::TokenExpired),
177
),
178
+ (Some("Security"), Some("Forbidden")) => Self::Client(
179
+ Neo4jClientErrorKind::Security(Neo4jSecurityErrorKind::Forbidden),
180
+ ),
181
(Some("Database"), Some("DatabaseNotFound")) => {
182
Self::Client(Neo4jClientErrorKind::FatalDiscovery)
183
0 commit comments