mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
chore: improve runtime docs and remove unused error (#12000)
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
//! Rust executor possible errors.
|
||||
|
||||
use sp_serializer;
|
||||
use wasmi;
|
||||
|
||||
/// Result type alias.
|
||||
@@ -28,9 +27,6 @@ pub type Result<T> = std::result::Result<T, Error>;
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
#[allow(missing_docs)]
|
||||
pub enum Error {
|
||||
#[error("Unserializable data encountered")]
|
||||
InvalidData(#[from] sp_serializer::Error),
|
||||
|
||||
#[error(transparent)]
|
||||
Wasmi(#[from] wasmi::Error),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user