From 48de915abfce5c582455b58dff5acb734536f8df Mon Sep 17 00:00:00 2001 From: srdtrk Date: Sun, 22 Oct 2023 17:41:19 +0300 Subject: [PATCH] style: renamed semver error variant --- src/types/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/error.rs b/src/types/error.rs index 0dcebc22..2d51eec4 100644 --- a/src/types/error.rs +++ b/src/types/error.rs @@ -25,7 +25,7 @@ pub enum ContractError { ProstEncodeError(#[from] cosmos_sdk_proto::prost::EncodeError), #[error("semver parse error: {0}")] - FromStrError(#[from] semver::Error), + SemverError(#[from] semver::Error), #[error("unauthorized")] Unauthorized {},