Euclid.Sugar.error-exclamation-mark

You're seeing just the function error-exclamation-mark, go back to Euclid.Sugar module for more information.

Specs

error!({:error, term()}) :: term()

Unwraps an :error tuple, raising if the term is not an :error tuple

Examples

iex> {:error, 1} |> Euclid.Sugar.error!()
1