# AllocationUnsupported

`import { AllocationUnsupported } from "destack:memory";`

Allocation failed because the runtime does not support the requested operation.

```ds title="AllocationUnsupported"
export struct AllocationUnsupported {
    kind: "unsupported";
    operation: string;
    message: string;
}
```

[language/library/src/memory/error.ds:33:42](https://github.com/destack-sh/destack/blob/main/language/library/src/memory/error.ds#L33-L42)

## Members

### `kind: "unsupported"`

Discriminant for allocation failure matching.

### `operation: string`

Unsupported allocation operation when known.

### `message: string`

Human-readable diagnostic detail.
