refactor: refactor connector auth type failure to 4xx (#2616)

This commit is contained in:
Arjun Karthik
2023-10-18 16:52:06 +05:30
committed by GitHub
parent 73e93910cd
commit 1dad7455c4
7 changed files with 125 additions and 20 deletions

View File

@ -179,7 +179,7 @@ pub enum ConnectorError {
connector: &'static str,
},
#[error("Invalid Configuration")]
InvalidConfig { field_name: &'static str },
InvalidConnectorConfig { config: &'static str },
}
#[derive(Debug, thiserror::Error)]