# Fix reportRetryableWin32ResourceError · gitcafe/zig

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

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

Visibility: public

Requested revision: 865b2e259bf78dbf1d4c1051b5fff68b90bca65f

Requested commit: 865b2e259bf78dbf1d4c1051b5fff68b90bca65f

Commit: 865b2e259bf78dbf1d4c1051b5fff68b90bca65f

Tree: de416537f668fbcabd9195485b741094c4f33541

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Fix reportRetryableWin32ResourceError

Follow up to https://github.com/ziglang/zig/pull/17069.

This TODO being left in was a complete oversight.

Before, any 'retryable' error would hit:

error: thread 2920 panic: access of union field 'success' while field 'failure_retryable' is active

Now, it will be reported/handled properly:

C:\Users\Ryan\Programming\Zig\zig\test\standalone\windows_resources\res\zig.rc:1:1: error: FileNotFound

```

## Parents

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

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