# ExternalFailureDto

**Kind:** Class

**Source:** [`atloria-monorepo/apps/api/src/documentation/dto/doc-automation.dto.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/documentation/dto/doc-automation.dto.ts#L666)

Terminal failure reported by an external generator (atlorix-runner) once it has exhausted its
retries. Without this the runner could only report PROGRESS, so a job whose subprocess died
stayed RUNNING in the DB until the 2-hour stuck-job sweeper expired it — the UI spun, and the
real reason (which the runner had in hand) was never persisted anywhere.

## Properties

| Property | Type |
|---|---|
| `error` | `string` |
| `errorStage` | `string` |
| `errorStack` | `string` |
