axl_lib/error.rs
1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum AxlError {
5 #[error("could not find any sessions to choose from")]
6 NoSessionsFound,
7
8 #[error("no project was selected from the list, cannot proceed")]
9 NoProjectSelected,
10
11 #[error("provided config path does not exist")]
12 ConfigPathDoesNotExist,
13
14 #[error("project path {0} does not exist")]
15 ProjectPathDoesNotExist(String),
16}