diff --git a/subxt/src/error.rs b/subxt/src/error.rs index 650f09153697f..59a0bdf731f06 100644 --- a/subxt/src/error.rs +++ b/subxt/src/error.rs @@ -155,18 +155,6 @@ impl RuntimeError { } } -/// Module error. -#[derive(Clone, Debug, Eq, thiserror::Error, PartialEq)] -#[error("{error} from {pallet}")] -pub struct PalletError { - /// The module where the error originated. - pub pallet: String, - /// The actual error code. - pub error: String, - /// The error description. - pub description: Vec, -} - /// Transaction error. #[derive(Clone, Debug, Eq, thiserror::Error, PartialEq)] pub enum TransactionError { diff --git a/subxt/src/lib.rs b/subxt/src/lib.rs index 723280f501fa1..e4e5668fc645b 100644 --- a/subxt/src/lib.rs +++ b/subxt/src/lib.rs @@ -81,7 +81,6 @@ pub use crate::{ error::{ BasicError, Error, - PalletError, RuntimeError, TransactionError, },