Skip to content

Commit 6ea5654

Browse files
Document :description field in CompileError (#14692)
1 parent d4ba7ee commit 6ea5654

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/exception.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ defmodule CompileError do
13891389
* `:file` (`t:Path.t/0` or `nil`) - the file where the error occurred, or `nil` if
13901390
the error occurred in code that did not come from a file
13911391
* `:line` (`t:non_neg_integer/0`) - the line where the error occurred
1392+
* `:description` (`t:String.t/0`) - a description of the compile error
13921393
13931394
This is mostly raised by Elixir tooling when compiling and evaluating code.
13941395
"""

0 commit comments

Comments
 (0)