# HostErrorContextGeneric

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

Generic host-error context payload.

```ds title="HostErrorContextGeneric"
export struct HostErrorContextGeneric {
    kind: "generic";
    syscall: string;
    argument: string;
    pointer: string;
    feature: string;
}
```

[language/library/src/error/host.ds:297:308](https://github.com/destack-sh/destack/blob/main/language/library/src/error/host.ds#L297-L308)

## Members

### `kind: "generic"`

Discriminator for this error-context variant.

### `syscall: string`

Optional syscall or host API name.

### `argument: string`

Optional argument name.

### `pointer: string`

Optional pointer label.

### `feature: string`

Optional feature identifier.
