lib: derive debug for error for unwrapping

This commit is contained in:
occheung 2021-01-18 14:13:54 +08:00
parent d7ba11611b
commit 736d63dcad
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,