CompileError exception (Elixir v1.19.4)
View SourceAn exception raised when there's an error when compiling code.
For example:
1 = y
** (CompileError) iex:1: undefined variable "y"The following fields of this exceptions are public and can be accessed freely:
:file(Path.t/0ornil) - the file where the error occurred, ornilif the error occurred in code that did not come from a file:line(non_neg_integer/0) - the line where the error occurred
This is mostly raised by Elixir tooling when compiling and evaluating code.