// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The test run failed. The error message lives on this variant.
/// Carries the same structured ``details`` envelope as workflow runs so
/// consumers can branch on ``error_code`` / ``stage`` rather than parsing
/// a free-text message.
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct ErrorWorkflowTestRun {
    /// Defaults to `error`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub status: Option<String>,
    /// Human-readable error message
    ///
    /// Defaults to `(no message)`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub message: Option<String>,
    /// Structured error context including stack trace
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub details: Option<ErrorDetails>,
}
