use a distinct error_chain for the tdb submodule

This commit is contained in:
Dustin J. Mitchell
2018-11-12 17:42:19 -05:00
parent 7fd94f6495
commit 9f310c76bd
6 changed files with 57 additions and 16 deletions

View File

@@ -1,9 +1,5 @@
error_chain!{
foreign_links {
Io(::std::io::Error);
StrFromUtf8(::std::str::Utf8Error);
StringFromUtf8(::std::string::FromUtf8Error);
StringFromUtf16(::std::string::FromUtf16Error);
links {
Tdb2Error(::tdb2::errors::Error, ::tdb2::errors::ErrorKind);
}
}