# std.debug.SelfInfo: concrete error sets · gitcafe/zig

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

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

Visibility: public

Requested revision: c895aa7a35b178576b89e600a20af9d16da36dea

Requested commit: c895aa7a35b178576b89e600a20af9d16da36dea

Commit: c895aa7a35b178576b89e600a20af9d16da36dea

Tree: 0816ce721cd4343b5abd3c86187ca064b8826420

Author: mlugg

Committer: mlugg

## Message

```
std.debug.SelfInfo: concrete error sets

The downside of this commit is that more precise errors are no longer
propagated up. However, these errors were pretty useless in isolation
due to them having no context; and regardless, we intentionally swallow
most of them in `std.debug` anyway. Therefore, this is better in
practice, because it allows `std.debug` to give slightly more useful
warnings when handling errors. This commit does that for unwind errors,
for instance, which differentiate between the unwind info being corrupt
vs missing vs inaccessible vs unsupported.

A better solution would be to also include more detailed information via
the diagnostics pattern, but this commit is an incremental improvement.

```

## Parents

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

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