wa_assert
(assert v1.0.1)
Types
-type comparison_cause() ::
#{type := comparison,
pins := pins(),
left := term(),
right := term(),
operator := atom(),
expression := string()}.
-type error_info(Cause) :: #{cause => Cause, module => module(), function => atom()}.
-type generic_cause() :: #{type := generic, pins := pins(), expression := string()}.
-type match_cause() :: #{pins := pins(), pattern := term()}.
Functions
-spec '$assert_match_error_info$'(term()) -> {error, no_error_info}.
-spec '$expand_assert$'(term()) -> #{bool_expr := term(), meta := meta()}.