ML exception type
= ML exception type
{c}
{title2=`exn`}
In <Standard ML>, `exn` is an extensible datatype of exception packets. Fresh declarations introduce constructors, optionally with payloads; rebinding can alias an existing constructor; `raise` propagates a packet and `handle` performs dynamic pattern-based recovery.
// Target: computer-science.bigb