1 2 3 4 5 6 7 8 9 10
use prost::DecodeError; #[derive(Debug, thiserror::Error)] pub enum ProtosError { #[error("decode error: {0}")] Decode(#[from] DecodeError), #[error("no signer in msg error: msg type url '{type_url}'")] NoSignerInMsg { type_url: String }, }