# Handle ENOTCAPABLE in WASI · gitcafe/zig

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

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

Visibility: public

Requested revision: bf8bf528c6c131f61de4af24c3599486a59c5868

Requested commit: bf8bf528c6c131f61de4af24c3599486a59c5868

Commit: bf8bf528c6c131f61de4af24c3599486a59c5868

Tree: 5350bc08ee690d446c219a4df7076390dde7dbad

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Handle ENOTCAPABLE in WASI

This commit adds `error.NotCapable` enum value and makes sure that
every applicable WASI syscall that can return `ENOTCAPABLE` errno
remaps it to `error.NotCapable.

```

## Parents

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

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