scientific-workflow 0.13.11

Configuration-driven scientific tasks, typed state, and durable recordings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Complete-workflow error type.

use thiserror::Error;

use crate::runtime::RuntimeError;
use crate::study::StudyError;

/// A failure while loading, preflighting, or executing one project.
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum WorkflowError {
    /// Declarative study compilation failed before output creation.
    #[error(transparent)]
    Study(#[from] StudyError),
    /// Active execution failed after a valid study was available.
    #[error(transparent)]
    Runtime(#[from] RuntimeError),
}