simplify kvdb error types (#8924)
This commit is contained in:
committed by
André Silva
parent
67721f3413
commit
5ef41ed53e
@@ -25,7 +25,6 @@ extern crate error_chain;
|
||||
extern crate ethereum_types;
|
||||
extern crate rlp;
|
||||
extern crate rustc_hex;
|
||||
extern crate kvdb;
|
||||
|
||||
use std::fmt;
|
||||
use rustc_hex::FromHexError;
|
||||
@@ -63,10 +62,6 @@ error_chain! {
|
||||
UtilError, ErrorKind, ResultExt, Result;
|
||||
}
|
||||
|
||||
links {
|
||||
Db(kvdb::Error, kvdb::ErrorKind);
|
||||
}
|
||||
|
||||
foreign_links {
|
||||
Io(::std::io::Error);
|
||||
FromHex(FromHexError);
|
||||
|
||||
Reference in New Issue
Block a user