# Merge pull request \#12889 from ziglang/unwrap-error-switch · gitcafe/zig

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

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

Visibility: public

Requested revision: 902f6db67b2d25f238fb13e458a12e06df62dadb

Requested commit: 902f6db67b2d25f238fb13e458a12e06df62dadb

Commit: 902f6db67b2d25f238fb13e458a12e06df62dadb

Tree: 5736f130758bcdc22babb60ac2ded441d43eb28e

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #12889 from ziglang/unwrap-error-switch

safety: show error return trace when unwrapping error in switch
```

## Parents

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

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

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