MismatchedDelimiterError exception (Elixir v1.18.3)
View SourceAn exception raised when a mismatched delimiter is found when parsing code.
For example:
- [1, 2, 3}
- fn a -> )
The following fields of this exceptions are public and can be accessed freely:
- :file(- Path.t/0or- nil) - the file where the error occurred, or- nilif the error occurred in code that did not come from a file
- :line- the line for the opening delimiter
- :column- the column for the opening delimiter
- :end_line- the line for the mismatched closing delimiter
- :end_column- the column for the mismatched closing delimiter
- :opening_delimiter- an atom representing the opening delimiter
- :closing_delimiter- an atom representing the mismatched closing delimiter
- :expected_delimiter- an atom representing the closing delimiter
- :description- a description of the mismatched delimiter error