# wasm: Implement error unions and unwrapping · gitcafe/zig

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

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

Visibility: public

Requested revision: 54810592326e3cd2cad02318aa07dd1d5da2e731

Requested commit: 54810592326e3cd2cad02318aa07dd1d5da2e731

Commit: 54810592326e3cd2cad02318aa07dd1d5da2e731

Tree: 98816eb370d69549e3e6b838a64ea3b62b3a78a7

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Implement error unions and unwrapping

- Slightly refactored `Wvalue.multi_value` to also contain the amount of locals it contains,
this allows us to set all fields at once.

```

## Parents

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

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