1 2 3 4 5 6 7 8 9 10
use thiserror::Error;
/// An error that occurs when building or loading a profile.
#[derive(Error, Debug)]
pub enum ProfileError {
#[error("Invalid profile-config.json: {0}")]
JSONError(#[from] serde_json::Error),
#[error("Filesystem error: {0}")]
FSError(#[from] std::io::Error),
}