unity_hub/unity/
error.rs

1use std::io;
2use thiserror::Error;
3
4#[derive(Error, Debug)]
5pub enum UnityError {
6    #[error("modules.json not found")]
7    ModulesJsonNotFound {
8        #[from]
9        source: io::Error,
10    },
11
12    #[error("Failed to parse modules json")]
13    ModulesJsonParseError(#[from] serde_json::Error),
14}