View Source Kernel.TypespecError exception (Elixir v1.16.3)
An exception raised when there's an error in a typespec.
The following fields of this exceptions are public and can be accessed freely:
:file
(Path.t/0
ornil
) - the file where the error occurred, ornil
if the error occurred in code that did not come from a file:line
(non_neg_integer/0
) - the line where the error occurred