<div dir="ltr"><div><div><div><div>Hi All!<br><br></div>I am trying to build a simple parse transform, that makes a small modification when a called function's name is of a certain form. I would like to signal that an error has occurred (e.g. the name is malformed, or arguments of wrong kind). How can I do this?<br></div>I have tried to insert {error, X}, with various types of X (including the {Line, Module, Reason} form, which pacifies erl_lint at least), but compilation with erlc keeps failing with:<br><br>    Compiler function compile:compile/3 returned:<br>    {error,undef}<br><br></div>Thanks in advance,<br></div>Alex.<br><br></div>