Skip to content
Français

RecipeDiagnostic

  • publicationIdOptional
    string | undefined
    Identifier of the publication journal retained after failure; tasks retain their completed status.
  • publicationStateOptional
    string | undefined
    Separate rollback or recovery state for failed publication, independent of task completion.
  • messageRequired
    string
    Bounded error message.
  • codeOptional
    string | undefined
    Outpost fault code when the error is an OutpostError.
  • statusOptional
    number | undefined
    Failed process exit status when supplied by the underlying error.
  • stdoutOptional
    string | undefined
    Bounded standard output captured for the failed command.
  • stderrOptional
    string | undefined
    Bounded standard error captured for the failed command.
  • causeOptional
    RecipeDiagnostic | undefined
    Nested cause retained up to the diagnostic depth limit.
export interface RecipeDiagnostic {
  readonly publicationId?: string;
  readonly publicationState?: string;
  readonly message: string;
  readonly code?: string;
  readonly status?: number;
  readonly stdout?: string;
  readonly stderr?: string;
  readonly cause?: RecipeDiagnostic;
}