W3cubDocs

/Elixir 1.18

Source TryClauseError exception

An exception raised when a term in a try/1 expression does not match any of the defined -> clauses in its else.

The following fields of this exception are public and can be accessed freely:

  • :term (term/0) - the term that did not match any of the clauses

© 2012-2024 The Elixir Team
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.18.1/TryClauseError.html