remove unused PalletError struct (#425)

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
Greg Hill
2022-02-03 15:09:08 +00:00
committed by GitHub
parent 702f4c8457
commit 75ea2cbf15
2 changed files with 0 additions and 13 deletions
-12
View File
@@ -155,18 +155,6 @@ impl<E> RuntimeError<E> {
}
}
/// 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<String>,
}
/// Transaction error.
#[derive(Clone, Debug, Eq, thiserror::Error, PartialEq)]
pub enum TransactionError {
-1
View File
@@ -81,7 +81,6 @@ pub use crate::{
error::{
BasicError,
Error,
PalletError,
RuntimeError,
TransactionError,
},