burn_central_core/experiment/
error.rs1use crate::artifacts::ArtifactError;
2
3#[derive(Debug, thiserror::Error)]
4pub enum ExperimentTrackerError {
5 #[error("Experiment is no longer active (likely already finished or dropped)")]
6 InactiveExperiment,
7 #[error("Experiment has already been finished")]
8 AlreadyFinished,
9 #[error("Experiment socket closed")]
10 SocketClosed,
11 #[error("Artifact error: {0}")]
12 ArtifactError(#[from] ArtifactError),
13 #[error("Failed to connect to the server: {0}")]
14 ConnectionFailed(String),
15 #[error("Internal error: {0}")]
16 InternalError(String),
17}