View Source CondClauseError exception (Elixir v1.16.3)

An exception raised when no clauses in a cond/1 expression evaluate to a truthy value.

For example, this exception gets raised for a cond/1 like the following:

cond do
  1 + 1 == 3 -> :woah
  nil -> "yeah this won't happen
end