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