We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e27b6 commit cb82b91Copy full SHA for cb82b91
mutiny-core/src/error.rs
@@ -176,6 +176,8 @@ pub enum MutinyError {
176
/// Failed to authenticate using JWT
177
#[error("Failed to authenticate using JWT.")]
178
JwtAuthFailure,
179
+ #[error("Failed to parse VSS value from getObject response.")]
180
+ FailedParsingVssValue,
181
#[error(transparent)]
182
Other(anyhow::Error),
183
}
mutiny-core/src/vss.rs
@@ -168,7 +168,7 @@ impl MutinyVssClient {
168
.await
169
.map_err(|e| {
170
log_error!(self.logger, "Error parsing get objects response: {e}");
171
- MutinyError::Other(anyhow!("Error parsing get objects response: {e}"))
+ MutinyError::FailedParsingVssValue
172
})?;
173
174
result.decrypt(&self.encryption_key)
0 commit comments