diff options
Diffstat (limited to 'lib/domain/libimagcounter/src/error.rs')
-rw-r--r-- | lib/domain/libimagcounter/src/error.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/domain/libimagcounter/src/error.rs b/lib/domain/libimagcounter/src/error.rs index bca5a0b1..c16c3f4d 100644 --- a/lib/domain/libimagcounter/src/error.rs +++ b/lib/domain/libimagcounter/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 { CounterError, CounterErrorKind, ResultExt, Result; @@ -55,14 +51,3 @@ error_chain! { } } -impl IntoError for CounterErrorKind { - type Target = CounterError; - - fn into_error(self) -> Self::Target { - CounterError::from_kind(self) - } - - fn into_error_with_cause(self, _: Box<Error>) -> Self::Target { - CounterError::from_kind(self) - } -} |