lib: derive debug for error for unwrapping

This commit is contained in:
occheung 2021-01-18 14:00:37 +08:00
parent 500c855d00
commit bcb3eef8cd

View File

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