View Source SyntaxError exception (Elixir v1.16.0-rc.0)

An exception raised when there's a syntax error 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 (non_neg_integer/0) - the line where the error occurred
  • :column (non_neg_integer/0) - the column where the error occurred