summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentryref/src/error.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-09-03 23:04:30 +0200
committerGitHub <noreply@github.com>2017-09-03 23:04:30 +0200
commite9ed4dfcab399b9af5b53b85f41476fb9cc21df5 (patch)
tree9984e5d58814713c90db8624f87dbd759b2ff9be /lib/entry/libimagentryref/src/error.rs
parent28d7085b2dbef61b95e41f05a276b256d66918dc (diff)
parent7ce44e80905cc60c656e385c7d1a4bb769f2c115 (diff)
Merge pull request #1048 from matthiasbeyer/remove-intoerror
Remove "IntoError" trait, use error_chain functionality
Diffstat (limited to 'lib/entry/libimagentryref/src/error.rs')
-rw-r--r--lib/entry/libimagentryref/src/error.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/entry/libimagentryref/src/error.rs b/lib/entry/libimagentryref/src/error.rs
index c4152a14..b826c7ca 100644
--- a/lib/entry/libimagentryref/src/error.rs
+++ b/lib/entry/libimagentryref/src/error.rs
@@ -17,10 +17,6 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
-use std::error::Error;
-
-use libimagerror::into::IntoError;
-
error_chain! {
types {
RefError, RefErrorKind, ResultExt, Result;
@@ -153,14 +149,3 @@ error_chain! {
}
}
-impl IntoError for RefErrorKind {
- type Target = RefError;
-
- fn into_error(self) -> Self::Target {
- RefError::from_kind(self)
- }
-
- fn into_error_with_cause(self, _: Box<Error>) -> Self::Target {
- RefError::from_kind(self)
- }
-}