# Map ENOTCAPABLE into error.AccessDenied instead of error.NotCapable · gitcafe/zig

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

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

Visibility: public

Requested revision: 8306826d53bf6dd0c5ea5ea27963374b31aa6dd1

Requested commit: 8306826d53bf6dd0c5ea5ea27963374b31aa6dd1

Commit: 8306826d53bf6dd0c5ea5ea27963374b31aa6dd1

Tree: 382f0ca9e0612bb8d173928a4f61e7663b5a1de3

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Map ENOTCAPABLE into error.AccessDenied instead of error.NotCapable

This is direct result of review comments left by andrewrk and
daurnimator. It makes sense to map `ENOTCAPABLE` into a more generic
`error.AccessDenied`.

```

## Parents

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

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