use std::path::PathBuf;
use miette::Diagnostic;
use thiserror::Error;
#[derive(Error, Debug, Diagnostic)]
pub enum Error {
#[error("Project file not found: {0}")]
ProjectFileNotFound(PathBuf),
#[error("Error reading file: {0}")]
CouldntReadFile(#[from] std::io::Error),
#[error("Error parsing project file: {0}")]
CouldntParseProject(String),
#[error("Survey file not found: {0}")]
SurveyFileNotFound(PathBuf),
#[error("Error parsing Survey: {0}")]
CouldntParseSurvey(String),
#[error("Station not found: {0}")]
StationNotFound(String),
}