diff --git a/libimaginteraction/src/error.rs b/libimaginteraction/src/error.rs index a85c9b25..dd3b5807 100644 --- a/libimaginteraction/src/error.rs +++ b/libimaginteraction/src/error.rs @@ -1,6 +1,4 @@ -use std::error::Error; -use std::fmt::Error as FmtError; -use std::fmt::{Display, Formatter}; +generate_error_imports!(); generate_error_types!(InteractionError, InteractionErrorKind, Unknown => "Unknown Error"