imag-store: Replace error module imports with macro helper
This commit is contained in:
parent
62cd7871a2
commit
0315b93c04
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
use std::error::Error;
|
generate_error_imports!();
|
||||||
use std::fmt::Error as FmtError;
|
|
||||||
use std::fmt::{Display, Formatter};
|
|
||||||
|
|
||||||
generate_error_types!(StoreError, StoreErrorKind,
|
generate_error_types!(StoreError, StoreErrorKind,
|
||||||
BackendError => "Backend Error",
|
BackendError => "Backend Error",
|
||||||
|
|
Loading…
Reference in a new issue