xenclient: move error to it's own mod

This commit is contained in:
Alex Zenla
2024-01-30 17:42:55 -08:00
parent eec213c712
commit 890a8ee63f
8 changed files with 182 additions and 228 deletions

View File

@ -1,7 +1,8 @@
use std::{env, process};
use xenclient::{DomainConfig, XenClient, XenClientError};
use xenclient::error::Result;
use xenclient::{DomainConfig, XenClient};
fn main() -> Result<(), XenClientError> {
fn main() -> Result<()> {
env_logger::init();
let args: Vec<String> = env::args().collect();