Exceptional v2.1.3 API Reference

Modules

Top-level use aliases

Exception control flow

Normalize values to a consistent exception struct or plain value. In some ways this can be seen as the opposite of tagged_tuple/ok

This module overloads the basic |> operator, and as such should be used with extreme caution (if ever)

Raise an exception if one has been propagated, otherwise continue

Convert a function that may raise into one that returns an exception struct

Convert back to conventional Erlang/Elixir {:ok, _} tuples

Provide an escape hatch for propagating unraised exceptions