Module assert

Module assert 

Source
Expand description

Assertion macros for WASM environments.

This module provides assertion macros that work in WASM environments by using the trace functions to emit readable error messages when assertions fail.

Traits§

NumericTrace
Trait for numeric types that can be traced with trace_num

Functions§

trace_numeric_value
Trace a numeric value.
trace_value
Trace a value of any type.