# std.os.windows.OpenFile: add missing error · gitcafe/zig

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

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

Visibility: public

Requested revision: 07c1dd3d1d6c9a1c4fec931621dfd93328bad1e4

Requested commit: 07c1dd3d1d6c9a1c4fec931621dfd93328bad1e4

Commit: 07c1dd3d1d6c9a1c4fec931621dfd93328bad1e4

Tree: 6d3365d931b58a4335e30d6be31e478153634e67

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.os.windows.OpenFile: add missing error

Encountered in a recent CI run on an aarch64-windows dev kit.

Pretty sure I disabled the virus scanner but it looks like it turned
itself back on with a Windows Update.

Rather than marking the new error code as unreachable in the places
where it is unexpected, this commit makes it return `error.Unexpected`.

```

## Parents

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

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