Most of the refactor. Need to switch machines.
This commit is contained in:
12
crates/pom/src/error.rs
Normal file
12
crates/pom/src/error.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use derive_more::{Display, From};
|
||||
|
||||
pub type Result<T> = core::result::Result<T, Error>;
|
||||
|
||||
#[derive(Debug, From, Display)]
|
||||
pub enum Error {
|
||||
#[from]
|
||||
Io(std::io::Error),
|
||||
|
||||
#[from]
|
||||
Xml(hard_xml::XmlError),
|
||||
}
|
||||
Reference in New Issue
Block a user