# remove error to/from int casting syntax; add \`@errorToInt\`/\`@intToError\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 626b73e8beeaae1cab23f883f877d89d64bbfa39

Requested commit: 626b73e8beeaae1cab23f883f877d89d64bbfa39

Commit: 626b73e8beeaae1cab23f883f877d89d64bbfa39

Tree: 4ed0ee57e00134f34656e759282b5c0e771726b2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove error to/from int casting syntax; add `@errorToInt`/`@intToError`

See #1061

```

## Parents

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

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