use thiserror::Error;

use crate::model::ComputeBackend;

#[derive(Debug, Error)]
pub enum FaultlineComputeError {
    #[error("backend unavailable: {0:?}")]
    BackendUnavailable(ComputeBackend),
    #[error("invalid compute job: {0}")]
    InvalidJob(&'static str),
}
