View Source TokenMissingError exception (Elixir v1.17.0-dev)

An exception raised when a token is missing when parsing code.

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

  • :file (Path.t/0 or nil) - the file where the error occurred, or nil if 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 end of the string
  • :end_column - the column for the end of the string
  • :opening_delimiter - an atom representing the opening delimiter
  • :expected_delimiter - an atom representing the expected delimiter
  • :description - a description of the missing token error