blueprint-core-testing-utils 0.2.0-alpha.1

Core primitives for testing Tangle Blueprints
Documentation
use blueprint_runner::error::RunnerError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum TestRunnerError {
    #[error(transparent)]
    Client(#[from] blueprint_clients::Error),
    #[error("Runner setup failed: {0}")]
    Setup(String),
    #[error("Runner execution failed: {0}")]
    Execution(String),
    #[error(transparent)]
    Io(#[from] std::io::Error),
    #[error(transparent)]
    Keystore(#[from] blueprint_keystore::Error),
    #[error(transparent)]
    Parse(#[from] url::ParseError),
    #[error(transparent)]
    Runner(#[from] RunnerError),
    #[error("Failed to wait for response: {0}")]
    WaitResponse(String),
    #[error(transparent)]
    Auth(#[from] blueprint_auth::Error),
    #[error(transparent)]
    Bridge(#[from] blueprint_manager_bridge::Error),
}