lib: derive debug for error for unwrapping

pull/3/head
occheung 2021-01-18 15:33:03 +08:00
parent 356c3aefe2
commit c4b62cc238
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ pub trait EthController {
}
/// TODO: Improve these error types
#[derive(Debug)]
pub enum EthControllerError {
SpiPortError,
GeneralError,