pub type PubResult<T> = Result<T, Error>;
Type to be exposed eventually from the lib instead of anyhow. Should be useful for the C API.
enum PubResult<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value