# translate-c: change OutOfMemory → ASTUnitFailure · gitcafe/zig

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

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

Visibility: public

Requested revision: 85830386402e2050a3dc97778b3a28af2be16e90

Requested commit: 85830386402e2050a3dc97778b3a28af2be16e90

Commit: 85830386402e2050a3dc97778b3a28af2be16e90

Tree: 5b6342a9a7fb9643ab03ab8c3fb42d372bd164cb

Author: Michael Dusan

Committer: Michael Dusan

## Message

```
translate-c: change OutOfMemory → ASTUnitFailure

- return a better error when no diagnostics are available

```

## Parents

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

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