# fix: Add error note when attempt is made to destructure error union \(\#21491\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/943176bbfcf3125451fa64e082ee357c28e70413)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 943176bbfcf3125451fa64e082ee357c28e70413

Requested commit: 943176bbfcf3125451fa64e082ee357c28e70413

Commit: 943176bbfcf3125451fa64e082ee357c28e70413

Tree: 7b72a227aadaaf5d96d59240ea6c97c12cbf1753

Author: Will Lillis

Committer: GitHub

## Message

```
fix: Add error note when attempt is made to destructure error union (#21491)

closes #21417
```

## Parents

- [509639717ac8903fe340a02cef844383183bf716](https://git.cafe/gitcafe/zig/commit/509639717ac8903fe340a02cef844383183bf716?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/943176bbfcf3125451fa64e082ee357c28e70413?format=markdown)
