mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
This reverts commit 6eb2eb81c5.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
//! Initialization errors.
|
||||
use flexi_logger::FlexiLoggerError;
|
||||
|
||||
/// Result type alias for the CLI.
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
@@ -33,8 +32,6 @@ pub enum Error {
|
||||
Service(sc_service::Error),
|
||||
/// Client error
|
||||
Client(sp_blockchain::Error),
|
||||
/// Flexi Logger error
|
||||
FlexiLogger(FlexiLoggerError),
|
||||
/// Input error
|
||||
#[from(ignore)]
|
||||
Input(String),
|
||||
@@ -68,7 +65,6 @@ impl std::error::Error for Error {
|
||||
Error::Cli(ref err) => Some(err),
|
||||
Error::Service(ref err) => Some(err),
|
||||
Error::Client(ref err) => Some(err),
|
||||
Error::FlexiLogger(ref err) => Some(err),
|
||||
Error::Input(_) => None,
|
||||
Error::InvalidListenMultiaddress => None,
|
||||
Error::Other(_) => None,
|
||||
|
||||
Reference in New Issue
Block a user