---
title: ExitReason enum | Wartiva GraphQL API
description: Reason a process terminated, derived from si_code in waitid(2). systemd reports this for the last invocation of each ExecCommand line.
url: https://wartiva.com/api-docs/types/exit-reason.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `ExitReason` enum

Reason a process terminated, derived from `si_code` in `waitid(2)`. systemd reports this for the last invocation of each ExecCommand line. Reference: [waitid(2) — si_code values](https://man7.org/linux/man-pages/man2/waitid.2.html)

## Values

| Enum Value | Description |
|---|---|
| `NEVER_RAN` | The command has not finished or has never been run (`si_code` 0). |
| `EXITED` | Normal exit. `exitStatus` holds the value passed to `_exit(2)` (`CLD_EXITED`, 1). |
| `KILLED` | Killed by signal without core dump. `exitStatus` holds the signal number (`CLD_KILLED`, 2). |
| `DUMPED` | Killed by signal with a core dump written. `exitStatus` holds the signal number (`CLD_DUMPED`, 3). |

## Used by

- [`ExecCommand`](https://wartiva.com/api-docs/types/exec-command.html) type: A single command line declared in a systemd unit's ExecStart=, ExecStop=, or ExecReload= directives, augmented with runtime data from its last…

## Example

### Example

```json
"NEVER_RAN"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
