An exception raised when a pattern match (=/2) fails.
The following fields of this exception are public and can be accessed freely:
:term (term/0) - the term that did not match the patternFor example, this exception gets raised for code like this:
[_ | _] = []
© 2012-2024 The Elixir Team
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.18.1/MatchError.html