API Reference ucum v#0.7.0

Copy Markdown View Source

Modules

UCUM, the Unified Code for Units of Measure (https://ucum.org/ucum, Regenstrief Institute), for Elixir: unit codes such as kg/m2, mm[Hg] and {request}/s read, checked and converted as the standard defines them (spec/00).

What a ! function raises: the reason its value twin answers in {:error, reason}, and that reason in Ucum.format_error/1's words (spec/00 §3).