# HostErrorContextSecurity

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

Security host-error context payload.

```ds title="HostErrorContextSecurity"
export struct HostErrorContextSecurity {
    kind: "security";
    syscall: string;
    action: string;
    policy: string;
}
```

[language/library/src/error/host.ds:381:390](https://github.com/destack-sh/destack/blob/main/language/library/src/error/host.ds#L381-L390)

## Members

### `kind: "security"`

Discriminator for this error-context variant.

### `syscall: string`

Optional syscall or host API name.

### `action: string`

Optional action name.

### `policy: string`

Optional policy name.
