pub type Error = Box<dyn Error + 'static>;
Represents any error type.
It may be worth it to refactor the error handling logic to instead use anyhow or something similar, if and when time allows.
anyhow