# HostErrorContextProcess

`import { HostErrorContextProcess } from "destack:error";`

Process host-error context payload.

```ds title="HostErrorContextProcess"
export struct HostErrorContextProcess {
    kind: "process";
    syscall: string;
    pid: uint64;
    signal: string;
    exitCode: int32;
}
```

[language/library/src/error/host.ds:343:354](https://github.com/destack-sh/destack/blob/main/language/library/src/error/host.ds#L343-L354)

## Members

### `kind: "process"`

Discriminator for this error-context variant.

### `syscall: string`

Optional syscall or host API name.

### `pid: uint64`

Optional process id.

### `signal: string`

Optional signal name.

### `exitCode: int32`

Optional exit code.
