# fix: Only suggest try on destructure of error union if payload type can be destructured \(\#21510\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 672bc8141fd26b29eb645571be27420db8e4c27e

Requested commit: 672bc8141fd26b29eb645571be27420db8e4c27e

Commit: 672bc8141fd26b29eb645571be27420db8e4c27e

Tree: 2f6879b2a1bb3190493a09de66f14f479fff8237

Author: Will Lillis

Committer: GitHub

## Message

```
fix: Only suggest try on destructure of error union if payload type can be destructured (#21510)


```

## Parents

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

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