zigler v0.1.3 beam.AssertionError.AssertionError exception View Source

Translates to ExUnit.AssertionError. Mostly used in Zig unit tests.

All test clauses in the directories of your Zig-enabled modules are converted to Zig functions with the inferred type !void. The beam.assert/1 function can throw this error as its error type.

Zigler converts assert statements in test blocks to try beam.assert(...);